Reply To: Find/Change single "end of paragraph" breaks but not double?

Home Page / Forums / General InDesign Topics (CLOSED) / Find/Change single "end of paragraph" breaks but not double? / Reply To: Find/Change single "end of paragraph" breaks but not double?

#92283

Hi Jeremy,

if you want to have real control, I would try it this way:

1.
Find what: (?<!~b)~b(?!~b)
Change to: \x20

2.
Find what: \x20{2,}
Change to: nothing

3.
Find what: ^~b
Change to: nothing

Some explanation: It’s always good practice to have an overview. So there are several steps needed. First remove those unwanted returns (1). Since \r will also find pagebreaks, use ~b instead. So the first one will find a return, that is not preceeded or followed by a return. Since you cannot guarantee, that there is a space already or not, insert a space and remove double space if needed (2). I assume, that you apply a para style with space after. So remove the empty return (3)

Kai

This article was last modified on February 18, 2017

Comments (0)

Loading comments...