Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Is there a simple way of removing linebreaks in Notepad++?
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
It will put in spaces automatically if necessary to prevent words from getting stuck together
In Search Mode pick Extended
Find - \r\n
Replace - leave it empty.
For me, using Win 7, I had to use
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.