Copy link to clipboard
Copied
In the attached image there are 2 paragraph styles: TRIP NAME (line 1) and DETAILS (lines 2 and 3).
I am trying to find the first hard return in every paragraph using the DETAILS paragraph style and replace it with a hard return. In this case, it would be the hard return after "Avid".
Any idea how I could do this with GREP?
try this grep
find:
.+\K\r(?=.+)
format:
DETAILS
replace with:
\n
Copy link to clipboard
Copied
try this grep
find:
.+\K\r(?=.+)
format:
DETAILS
replace with:
\n
Copy link to clipboard
Copied
\r(?=.) will be enough! …
Copy link to clipboard
Copied
I thought so too
then I thought if there are empty lines with "DETAILS" paragraph style (wrongly applied) that he doesn't want to eliminate
Copy link to clipboard
Copied
You might also explore the new features in CC2019 where you can change the spacing between paragraphs using the same style. This is how I control a large space after a list of bullets.