Forum Moderators: phranque

Message Too Old, No Replies

How to add carriage return with find and replace

         

Quarfelburg

8:25 pm on Nov 19, 2003 (gmt 0)

10+ Year Member



Hi, I don't know where I should be posting this, but I hope this forum can answer my question.

I have a mailing list with about 2000 emails that are separated by commas. The program I'm using seems to require each email be on a separate line. So instead of:

email@email.com, email2@email.com

I want:

email@email.com,
email2@email.com

So I just want to do a find and replace on "," and replace it with ", carriage return".

The text editor also supports regular expressions. Thanks.

bbrooks

9:10 pm on Nov 19, 2003 (gmt 0)

10+ Year Member



If your text editor supports regular expressions, you should be able to use the Find/Replace command as follows:

Replace:,(space)

With:,\n

[Note: you will want to hit the space bar where where it says (space).]

Depending on your editor, you may need to check off a box which specifies that you are using a reg expression instead of straight text.