Skip to main content
Participating Frequently
July 21, 2021
Answered

How to remove hard returns from end of each line?

  • July 21, 2021
  • 2 replies
  • 6994 views

Hi All, I'm working on a project where my client has provided 21 pages of text as a PDF file, and I need to place it into InDesign.

 

When I attempt to copy and paste, there is a hard return at the end of each line. Can anyone please let me know what the shortcut is to remove these returns? I'm thinking it's a find/replace, but can't quite figure it out.

 

Thank you so much, any insight would be much appreciated!

Correct answer Brad @ Roaring Mouse

It's ^p in Find and Replace [Text] or \r in [GREP].

 

2 replies

Community Expert
July 22, 2021

Hi indie_24,

when in Acrobat Pro and your PDF is open, Acrobat is able to do "regular" line ends without hard returns.

At least it tries when in category Edit PDF:

 

 

Pasted to InDesign. But watch out for "hard" hyphens:

 

 

Regards,
Uwe Laubender

( ACP )

Legend
July 22, 2021

Also check out Axrobat's export to Word, and place the Word file. Worth seeing which one gives you the least fixing up. 

Brad @ Roaring Mouse
Community Expert
Brad @ Roaring MouseCommunity ExpertCorrect answer
Community Expert
July 21, 2021

It's ^p in Find and Replace [Text] or \r in [GREP].

 

indie_24Author
Participating Frequently
July 21, 2021

Thank you so much! One more question though, if I'm doing Find and Replace and put ^p in the "Find" box, what should I put in the "Replace" box?

indie_24Author
Participating Frequently
July 21, 2021

Actually never mind, I just figured it out. 

Again, thank you so much, I really appreciate your help!