Try using the Find/Replace function of Notepad++.
Find:
\r(?!\n)
Replace with:
(space)
You will need to check the regular expression checkbox:
Try replacing in a few lines first (select the first 80 lines for example) and then replace in selection just to see. If that works, you can proceed with the whole file.
In the above \r
will match a CR and \n
will match an LF. (?!\n)
is a special group that means 'don't match \r
if it is followed by \n
'.
Note: I think that notepad++ sometimes doesn't do the replace correctly, so if replacing the whole file at once cause issues, try replacing in smaller batches.
I usually use a script to do something like this but I don't think you'd be ready to use a script if you're not used to it :s