Hey Scott,
This is very dependent upon your use-case.
Will your object string always be a single line of text?
Or is that subject to change?
See the Search Clipboard action.
There's more than one way to do this of course, but here's an example:
Extract Words Before and After a Delimter String v1.00.kmmacros (6.7 KB)

-Chris