i'm trying to apply a certain formatting using InDesign GREP-Styles. My intention is to match every first line of a paragraph.
My first attempt was:
(?<=\r)(\w)+(?=\r)
but this won't work and if it would, then the very first paragraph wouldnt match. Has anybody an idea? My regex skills are very, very poor...
For better understanding:
Lorem ipsum dolor sit amet
Sed diam nonumy eirmod tempor
Lorem ipsum dolor sit amet
Sed diam nonumy eirmod tempor
Lorem ipsum dolor sit amet
Sed diam nonumy eirmod tempor
should become
*Lorem ipsum dolor sit amet*
Sed diam nonumy eirmod tempor
*Lorem ipsum dolor sit amet*
Sed diam nonumy eirmod tempor
*Lorem ipsum dolor sit amet*
Sed diam nonumy eirmod tempor