How do I remove line returns from a large chunk of pasted text?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When citing references, sometimes the copied text contains a hard line return
after each sentence. I am looking for an easy way to remove all the line
returns within a selected area of text. Any suggestions? Thanks.
 
As a general issue, use find/replace. ^p matches hard paragraph returns,
and ^l matches hard intraparagraph returns. Hence, you can use Find/Replace,
replacing ^p or ^l (depending on which kind you're trying to zap) with a
space (to prevent words from being concatenated).

You can select just the text that needs the replacement done, then choose
Find/Replace - Replace All to affect just the selected text, saying "No" to
the offer to continue to the rest of the document.

If this works for you and is a continuing need, you can record a macro then
put the macro on a toolbar or menu, or assign it to a keystroke to automate
the process in the future.
 
Back
Top