Special character codes

What is the symbol for a paragraph return in Pages for find and replace. I believe it used to be ^p. That does not work.


I need to replace commas with a line or paragraph return.

Thank you in advance.

MacBook Air 13″, macOS 10.14

Posted on Aug 24, 2020 8:47 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 25, 2020 7:46 AM

No list. See the list of formatting characters when Show Invisibles is enabled in the View menu. You can select any of these characters in your document, and make them the Finder character by Edit menu : Find : Use Selection for Find.


Tabs: \t

Line break: \i (this is the shift+enter character, or soft-return)

Newline/paragraph mark: \n

Non-breaking space: option+spacebar


Suppose I have inserted a Section break after some words, as I have done here:

and on the following section/page, I have decided I want to remove the section break and have the following text appear below the "Some text."


I double-click the section break line to select it, and from Edit menu : Find : Use Selection for Find. Then I open the Find/Replace panel. Nothing will appear in the Find window, despite the section break code being there. I enter a newline \n in the Replace window, and then tap the > arrow to select the section break. It will be lit with yellow, and in the Find window, you will see "1 found." Click Replace, and the section break disappears, and the joined text appears one line below the existing "Some text."


You can also position your pointer in the blank Find window, and then press control+command+Spacebar to open the Character palette. In the panel's search window, you can enter the type of character you seek, and then double-click that character to insert it into the Find window. You would use this if there were a special character in your document that you wanted to change or remove (nothing in the replace window).

Similar questions

5 replies
Question marked as Top-ranking reply

Aug 25, 2020 7:46 AM in response to brucerp

No list. See the list of formatting characters when Show Invisibles is enabled in the View menu. You can select any of these characters in your document, and make them the Finder character by Edit menu : Find : Use Selection for Find.


Tabs: \t

Line break: \i (this is the shift+enter character, or soft-return)

Newline/paragraph mark: \n

Non-breaking space: option+spacebar


Suppose I have inserted a Section break after some words, as I have done here:

and on the following section/page, I have decided I want to remove the section break and have the following text appear below the "Some text."


I double-click the section break line to select it, and from Edit menu : Find : Use Selection for Find. Then I open the Find/Replace panel. Nothing will appear in the Find window, despite the section break code being there. I enter a newline \n in the Replace window, and then tap the > arrow to select the section break. It will be lit with yellow, and in the Find window, you will see "1 found." Click Replace, and the section break disappears, and the joined text appears one line below the existing "Some text."


You can also position your pointer in the blank Find window, and then press control+command+Spacebar to open the Character palette. In the panel's search window, you can enter the type of character you seek, and then double-click that character to insert it into the Find window. You would use this if there were a special character in your document that you wanted to change or remove (nothing in the replace window).

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Special character codes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.