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.

link|improve this question

77% accept rate
feedback

1 Answer

up vote 3 down vote accepted

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

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

enter image description here

link|improve this answer
Thanks! Know if this can also be done with Notepad2? – galacticninja Jun 10 '11 at 9:54
Sorry, @galacticninja - I don't use Notepad2, but I expect there's something similar in its search facility: I think you tick the box for "Regular expression". – njd Jun 10 '11 at 10:36
1  
Yes: as I thought, Regular expression search does the job in Notepad2. I've updated my answer. – njd Jun 10 '11 at 10:48
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.