Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 5 down vote accepted

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

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

enter image description here

share|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
Yes: as I thought, Regular expression search does the job in Notepad2. I've updated my answer. –  njd Jun 10 '11 at 10:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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