Replace CarriageReturn and NewLine in NotePad++

In Notepad++ to replace carriage return and newline with NewLine.

Open the find and replace dialogue (press CTRL+H). Then select Regular expression in the ‘Search Mode’ section at the bottom.

In the Find what field enter this: [\r\n]+ and in Replace With \n

Comments |0|

Legend *) 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=""> <s> <strike> <strong>
Category: Notepad++