Notepad++ search and replace newline with comma

I sometimes have longer lists where it is useful to do a search and replace. For instance I just exported a list of e-mail addresses from my database and wanted to to a search and replace to replace newline with comma. This can easily be accomplished by choosing search -> replace. Choose extended mode and enter \r\n for find what and , in Replace with.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>