GREP - Apply Character Style until carriage return


Question

Is there a way to tell InDesign via GREP to apply a Character Style to the first paragraph of a text box before a carriage return? Not a forced line break. A carriage return.

Thank you

1
1
8/13/2014 8:35:00 PM

Accepted Answer

This regular expression does it:

\A[^\r]+

1
8/13/2014 6:02:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
^