Doug, are you using GREP (to find and replace) or GREP Styles? (per your description of what it does)
If GREP Styles:
1. No need to use (\.|\r) at the end. GREP styles stop automatically at the end of each paragraph.
2. No need to use (?!ed.*?) a simple (?!ed) is enough here, as when this matches it does not really matter if/what follows.
Try this shorter one:
-- it bolds text from "renew" to either the end of the paragraph *or* up to any first opening parenthesis.
I'm reading this a little differently, and I think the point is to not bold renew if it surrounded by brackets, and the parentheses are irrelevant, so I'd search for (?<!\[)[Rr]enew(?!ed)
The [Rr] in this case lets it match Renew or renew in case it starts a sentence.
Sorry if that wasn't too clear... this is a GREP style.
Jongware, that's great for the opening parenthesis bit. But how could I combine that with ending at and including full stops? I feel like I'm not getting something about using "or".
By the way, I came across your What the GREP script yesterday. I feel like it'll be very useful when I have a better idea of what I'm doing.
sorry Peter, I mean 'renewed' is never in brackets - but the style should stop at any brackets that follow it.
ah! I can just add a full stop to the exclusion group, right?
Perhaps including full stops doesn't matter, stylistically...
But, out of interest, what would I do if it did?
I usually apply the same fomatting to punctuation as the word preceding, but I have no idea if that's correct according to the style manuals (and they may not all agree with one another. I just think it's less jarring on the reader if formatting changes at spaces.
That would be my instinct Peter, but the authors here don't seem to care too much either way, so perhaps I'll leave it there.