Page 1 of 1

Replace with Linebreak

Posted: Sun Oct 19, 2008 1:17 am
by wastedthelight
Is there a way to insert/replace text with a linebreak (enter)?

Simply hitting enter and leaving it empty doesn't do anything unless text is in there.


---example 1---


---------------
doesn't work but

---example 2-----
hi

line

break
------------------
doesn't work

Thanks.

Re: Replace with Linebreak

Posted: Wed Oct 29, 2008 8:32 pm
by shamy
Use "Batch replace" and check the "Use Regular Expressions".
Then
put the text to repalce in the "Search for"
and put \r\n in the "Replace with"
And you will get a line break

Re: Replace with Linebreak

Posted: Fri Nov 28, 2008 3:24 pm
by Abacre
If you are using Replace operation that you may simply go to menu Action - Options - Replace
and uncheck "Delete trailing CRLFs" option.