Editing imported text problem in Pages

How do I get rid of paragraph markers (carriage returns) at the end of each line of OCR copied text? Could do this in the past when I used Word.


Posted on Sep 14, 2021 11:17 PM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Sep 16, 2021 6:00 AM

Hi BLynnB,


If the text has double paragraph marks between paragraphs and single paragraph marks at the end of each line, you can temporarily replace the double paragraph marks with something that does not occur in your document, such as this:



Replace All.

Now follow Viking's advice to remove all the other (single) paragraph marks.


Then replace all !@#$ with \n\n



Done!


(Edited to remove the examples which were misleading!)


Regards,

Ian.



7 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Sep 16, 2021 6:00 AM in response to BLynnB

Hi BLynnB,


If the text has double paragraph marks between paragraphs and single paragraph marks at the end of each line, you can temporarily replace the double paragraph marks with something that does not occur in your document, such as this:



Replace All.

Now follow Viking's advice to remove all the other (single) paragraph marks.


Then replace all !@#$ with \n\n



Done!


(Edited to remove the examples which were misleading!)


Regards,

Ian.



Reply

Sep 15, 2021 8:26 AM in response to BLynnB

Apple never wrote Pages to be a Word clone, or even compete with Word's functionality. If your OCR software is producing text that looks like the following in Pages (View > Show invisibles):



You can remove the extra paragraph marks with the following Find/Replace panel:



Click the right-arrow in this panel once to enable Replace All, and then click that to get:


Reply

Sep 16, 2021 5:30 AM in response to BLynnB

Then, in my image of the Find/Replace panel above, enter \n in the Find field, and nothing in the replace field, and it will remove all paragraph marks in the entire document. Unfortunately, one cannot just select the text that you want this to act on and ignore all other text.

Reply

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.

Editing imported text problem in Pages

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