Reputation: 173
I need some help in Notepad++ and regular expressions.
Example how it looks at the moment:
aaaaa
bbbb
cccccc
How I want it (remove breakpoints and replace them with a comma and a blank space):
aaaaa, bbbb, cccccc
I was told that I can do it by checking "Regular expression" and "matches newline" and;
Find what: "[\r\n]+"
Replace with:","
-> Replace All
However I can't find the "matches newline" in my Replace window. Do I need any plugins for it? The version of my Notepad++ is 5.7 (UNICODE).
Upvotes: 17
Views: 65653
Reputation: 5563
Not much complications are required for removing linebreaks using notepad++
Just select from end of line to the start of next line
and press CTRL + H,
you will get the text to replace and then replace it with ,
or your desired character
Upvotes: 7