That you mean place your cursor in the "Find What:" field and then hold the control key and press the "M". I'm sorry to be so verbose, but I'm using Notepad++ v4.4 and every time I try this windows dings at me instead of placing a special character in the field.
(I've tried both left and right control keys.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to search (and replace) end of line characters in notepad ++ ?
Let's say the scenario is:
Line1
Line2
Line3
I need to replace this to:
Line1,
Line2,
Line3,
I tried several combinations of [.]$, []$, none of which seem to work.
Any ideas ?
Thanks in advance,
MB
Try replacing CTRL+M by CTRL+M and a comma.
Nobody,
I'm assuming when you are saying:
"Try replacing CTRL+M by CTRL+M and a comma."
That you mean place your cursor in the "Find What:" field and then hold the control key and press the "M". I'm sorry to be so verbose, but I'm using Notepad++ v4.4 and every time I try this windows dings at me instead of placing a special character in the field.
(I've tried both left and right control keys.)
You should use the CTRL+R Find/Replace Dialog for these actions.
Last time I tried this, control+M would only work with the advanced find/replace (control+R) if regex was turned off. See http://notepad-plus.wiki.sourceforge.net/FindReplaceNewlineHowTo for details.
find: (.*)$
replace: \1,
should work