Kaspar Allenbach

rss

Remove line breaks from PDF text

The annoying problem: You have to copy text from a PDF that is full of hard line breaks

Just recently learned: Using the code editor VS Code, you can easily convert a text block that contains hard line breaks into a text string.

Remove line breaks from PDF text

  1. VS Code Download & Install
  2. Copy text
  3. Select text
  4. Press Ctrl + J
  5. Success!