Copy attribute to clipboard via script

Hi,
This seems fairly straightforward, but I don't know enough AppleScript (aka any) to do it. Basically, I have a rule to match the contents of a PDF to a specific pattern (custom attribute) and I'd like to copy the matched attribute to the clipboard so I can then paste it into another document (spreadsheet). I think the matching part is fine, I'm just not sure how to set up the script part?
Thanks
This seems fairly straightforward, but I don't know enough AppleScript (aka any) to do it. Basically, I have a rule to match the contents of a PDF to a specific pattern (custom attribute) and I'd like to copy the matched attribute to the clipboard so I can then paste it into another document (spreadsheet). I think the matching part is fine, I'm just not sure how to set up the script part?
Thanks