Grep Styles Help. Apply to style after last question mark only.
I have a paragraph that asks several questions. After the last question I want the GREP style to apply to give the answer to the questions a different color to get this result.
"Where was it? When did it happen? At the market at 5:00 p.m."
This below works for finding the question mark, but the problem is that it finds every single one.
(?<=\?).+
Giving me this problem.
"Where was it? When did it happen? At the market at 5:00 p.m."
Is it possible to find only the last occorance of the question mark?
Thanks!
