I have many text frames with product info (it is a catalog). They will always stay separate stories, just one of these cases per story.

product name, styled as "product name", is at beginning of the story (not always the very first line however, but always same paragraph style)

there is bunch of other product info text, in which product info might appear again inside a paragraph. I need to find and select the product name, so I can apply character style to it.

Example of a story, text frame:

"Green Hair Spray^p

our bestseller^p

made in US^p

voluptat optam Green Hair Spray que solorum blah blah etc on and on "

I need to make the "Green Hair Spray" bold or color using character style so it would stand out. There might be other capitalized words in the paragraph so I cannot just search for words that start with caps. I need to search for words that appear *in front of this fraze, in that certain style*

I am happy to pay for this grep if that is something that needs to be created from scratch, but maybe this comes up for other people, and can be located elsewhere?

well, that will not work for me since the product name appears second time inside a paragraph, not sytle in any special way. If there was a way to select it I would, and assign a paragraph style to it and would be good.

I need a grep that would learn the product name from the line at beginning of the story (where it *is* styled differently) and find (and select) it in a following paragrah of the story, where it is buried in bunch of other text witht he same (body) style.