Take the 2-minute tour ×
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
add comment

1 Answer

up vote 4 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

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
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
add comment

Your Answer

 
discard

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.