Is there a simple way of removing linebreaks in Notepad++?
For example:
This text has been splitted
in lines, and it's longer than
3200 words, so it would be great
to find and replace line breaks
like these.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityIt will put in spaces automatically if necessary to prevent words from getting stuck together
CTRL+H
In Search Mode
pick Extended
Find - \r\n
Replace - leave it empty.
\r\n
and the replace field should contain one space character.
Dec 12, 2012 at 9:29
For me, using Win 7, I had to use
\r
in the Find
box and type in <space>
in the Replace
box so that there is a single space between the last word of the current line and the first word of the next line.
4J