How to change or replace all instances of a character in a text file to a newline/line break/EOL in Notepad2 or Notepad++


I tried Notepad2's 'Replace Text' function, but I don't know what to put in the 'Replace with' field.

The OS I'm using is Windows 7.

Best Answer

  • Notepad2
    Search mode: Regular expression search
    Replace with: \r\n

    Search mode: Extended (or Regular expression)
    Replace with : \r\n

    enter image description here

  • Related Question