Reply To: GREP: Lookahead question

#87550
AaronA
Participant

Hi Kai,

Thanks for your response!

I think your first ‘find’ must have gotten garbled in the forum formatting… ?
I got it to work with this instead:

~8(.)(?# Find bullet character & space & any character)

And the #2 routine works great. I just figured out why, so this is for the benefit of any other GREP novices: it looks to the first character of the next paragraph; if it does NOT match the specified bullet paragraph style, then the Change (to the ‘last’ bullet par style) is executed.

Very helpful; thanks again!

This article was last modified on August 17, 2016

Comments (0)

Loading comments...