Fix texts copied from pdf with erroneous line line/paragraph breaks

spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 824458
    • Gender:Male
  • point d’amour
Fix texts copied from pdf with erroneous line line/paragraph breaks

https://pastemagic.com
https://www.textfixer.com/tools/remove-line-breaks.php

In Word you could try:

Find: ^13([!^13])
Replace: [Enter a space character]
(Use Wildcards must be checked)

The above regular expression will work with text that has 1 paragraph mark for erroneous breaks and 2 paragraph marks for "true" paragraphs, like this:

Code: [Select]
This is a line with a paragraph mark at the end
This is a line with a paragraph mark at the end

This is a line with a paragraph mark at the end
This is a line with a paragraph mark at the end
« Last Edit: 21 Nov, 2020, 20:25:14 by spiros »


 

Search Tools