GREP change style within parentheses once
Hello, I’m formatting some text and would like to target characters within a set of parentheses, but only the first set (if more than one parenthetical occurs within the paragraph).
Example:
word (pronunciation) n. definition definition (second parenthetical); additional context
Where only “(pronunciation)” would be styled and not “(second parenthetical)”. I found a prior thread with two strings that work to target all of the parentheticals within a paragraph. However, I don’t know how to only target the first parenthetical. I’ve tried to wrap the expressions in brackets and adding “?” or “+?” but those don’t work, and that’s the limit of my GREP understanding.
i.e.
((?<=\()[^)]+)+?
Is there a way to target only the first parenthetical in a paragraph? If it’s relevant, I’m also using a nested style to target the first word to apply a different style.
