Clean up text copied from a PDF

Text copied out of a PDF breaks in the middle of sentences. Join the lines, tidy the spaces, and fix what keeps coming back.

The steps

  1. Join the broken lines. Paste the text or add the file. Paragraphs come back together. Fix broken PDF line breaks
  2. Tidy the spaces. Double spaces and spaces at line ends go. Remove extra spaces
  3. Fix what keeps coming back. Replace a word or a pattern everywhere, then copy or save the text. Find and replace text

Text that reads as normal paragraphs.