New Line

General discussions about Advanced Find and Replace
Post Reply
anmldr
Posts: 19
Joined: Mon Jan 31, 2005 5:32 pm

New Line

Post by anmldr » Tue Apr 05, 2005 10:17 pm

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?

TIA,
Linda

Abacre
Site Admin
Posts: 1198
Joined: Mon Jan 31, 2005 5:32 pm
Contact:

Post by Abacre » Tue Apr 05, 2005 10:24 pm

Hi,

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:
\r\n

In this case \r\n - means new line.
Kind regards,
Abacre Limited
http://www.abacre.com
support@abacre.com

anmldr
Posts: 19
Joined: Mon Jan 31, 2005 5:32 pm

Post by anmldr » Tue Apr 05, 2005 10:27 pm

Thank you Roman :)
As usual your support is great.

Linda

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests