Page 1 of 1

New Line

Posted: Tue Apr 05, 2005 10:17 pm
by anmldr
I would like to replace all ", " with a new line in a text document. That is a comma and space. I have tried to put the ", " in the search area and in the replace area hit the "Enter" button to place the cursor on a new line. When I execute, it only removes or deletes the ", " and does not move the following data to a new line.

Is there a different way to do this?


Posted: Tue Apr 05, 2005 10:24 pm
by Abacre

Yes, there are possible ways of doing it.

You used Replace tab. Why it did not work?
By default the option "remove trailing spaces" in switched on in
Options window for Replace.

So you may set the option off.

Another way: go to Batch replace tab
check on "Use regular expressions"

put into:
Search for:

(comma with space)

and into Replace with:

In this case \r\n - means new line.

Posted: Tue Apr 05, 2005 10:27 pm
by anmldr
Thank you Roman :)
As usual your support is great.