Reply To: GREP paragraph style question

Home Page / Forums / InDesign User Groups / GREP paragraph style question / Reply To: GREP paragraph style question

#116855
Jeremy Howard
Participant

I know I am late to the game on this one but my ears always perk up at the mention of GREP…

Brett, have you considered using line breaks (AKA soft returns)? You can get the results that you are looking for using soft returns rather than paragraph returns with this GREP string:

GIRL(.+)+\K.+(?=$)

BONUS: This will work with a minimum of 3 lines (separated by soft returns) and there is no maximum number of lines!

See my screenshot for an example:

GREP – Girl/Boy paragraph with soft returns

On a different note, David, How do you post images on these threads?

This article was last modified on May 24, 2019

Comments (0)

Loading comments...