I'm trying to format a keyword(s) that comes after specific string. For example, I want to bold the words, "happy", "sad", and "angry", but only if they are preceded by "be" or "become". This is an example of what I expect to be bolded:
I am happy, but I will be angry soon. Though she is sad now, she will become happy.
I have tried to GREP it like this:
(?<=(be|become).)(happy|sad|angry)
This seems to work on other programs but not Indesign. I could construct the arguments "be" and "become" separately like this: (?<=be)(happy|sad|angry)|(?<=become)(happy|sad|angry)
, but it's not feasible when there are a lot of strings I need to match.