IT tips #2: Get rid of text-wrap when copying and pasting into Word

Share

Most people know about search and replace, but fewer know that you can search & replace weird stuff like paragraph marks. This is a life-saver if you want to get rid of fixed line-breaks in text that you’ve copied and pasted into Word. It happens a lot with emails, but also with text copied from pdfs – resulting in a 25 page document that could easily be unwrapped into 4 pages.  You can’t see the paragraph marks unless you press the ‘show non-printing characters’ button (see left), but if you’ve got lines that won’t unwrap, they’re probably to blame.

Tip: If you’re faced with a load of annoying paragraph breaks on every line of pasted text

  1. Go to Edit>Replace (or Press Ctrl+H/Mac: ⌃⌘+H)
  2. Select the advanced options
  3. Press the ‘special’ menu button (see image below)
  4. Select ‘Paragraph Mark’
  5. This will put the sign for ^p in the ‘Find’ box
  6. In the ‘Replace’ box, press Spacebar once (i.e. so you’re replacing the paragraph mark with a space)
  7. Select ‘replace all’

And there you are – all back into normal text again. You can of course just type ^p instead of selecting the special menu – but it’s worth seeing what else you can search for to replace.

With emails, once you’ve done this, you may still need to  get rid of the chevrons (>) that sometimes get put on the beginning of every line of quoted text.

  1. Go to Edit>Replace
  2. Type > in the ‘Find’ box
  3. In the ‘replace’ box, press Spacebar once – i.e. you’re going to replace each > with a space
  4. Select ‘replace all’

Result: one clean piece of text. Oh I nearly forgot: you’ll need something to practise on, here you are:

>The quick brown fox jumps over the lazy dog

  >The quick brown fox jumps over the lazy dog

  >The quick brown fox jumps over the lazy dog

  >The quick brown fox jumps over the lazy dog

  >The quick brown fox jumps over the lazy dog

  >The quick brown fox jumps over the lazy dog

  >The quick brown fox jumps over the lazy dog

  >The quick brown fox jumps over the lazy dog

  >The quick brown fox jumps over the lazy dog

† I originally had ‘put nothing in the replace box’ but two people have suggested that it’s better with a space, and I find this too, now, so I’ve changed it.