I'd actually forget the brackets (just in case). Work backwards from the
knowledge that no email address can have a space in it, and ALL emails MUST
have an @ symbol. Then return anything on either side of the @ symbol until
you encounter a space.

I'll see if I can come up with something for you.

<!----------------//------
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 28, 2005 2:26 PM
To: CF-Talk
Subject: Suggestions wanted


I'm looking for some suggestions on the best way to get email addresses
from a string that looks like this:

"Rick Root" <[EMAIL PROTECTED]>

or

"Rick Root" <[EMAIL PROTECTED]>,"Root, Rick"
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>

Ultimately, the latter should return an array or email addresses.

To the best of my knowledge, all email addresses will be contained in <>'s.

Rick





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219502
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to