On 21-Jan-2007, at 07:44, Ben Barr wrote:
Hello, all;

I'm trying to figure out how to do a specific find and replace.

I have a client who uses AOL for his email program. He wants to extract his address book from AOL and import into Outlook (which is a headache in and of itself). The problem is, none of the AOL addresses have "@aol.com" at the end of their addresses.

How can I structure a find and replace so it will find all addresses that don't have "@aol" on the end of them, and have it added automatically?

find: ^([EMAIL PROTECTED])$
replace: :[EMAIL PROTECTED]

that finds all the lines that do not contain a '@' and ads the @aol.com to them, so

fred
[EMAIL PROTECTED]
[EMAIL PROTECTED]
george

becomes

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]


--
"Send beer, words simply can't adequately express your gratitude" - James Sedgwick



--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to