31

I have a document, I wants to use the find and replace to convert any period (.) into a new line. I can't seems to of that, in Microsoft word you can input ^ CTRL+p into the replace field. But how do you do it on apps like Pages or TextEdit?

3 Answers 3

38

You can click on the magnifying glass icon and choose Insert Pattern or press ⌃ CTRL+⌥ ALT+⌘ CMD+P

Insert pattern in TextEdit screenshot

Then pick Line Break

Line Break selected

11

A simple trick is to just copy the rest of a line and paste it into the "replace" field.

Works with Textedit, Xcode etc.

enter image description here

4

Find and Replace in Mac Pages version 8.0 doesn't have the 'Insert Pattern' as TextEdit does. Pages' Help does not provide information about how to use Paragraph Break, Line Break etc. But the following can be used:

\n for paragraph break
\i for line break
\t for tab

(found these out using 'Edit - Selection to Find')

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .