If that's always the format, no need for a RegEx, use ListLast(theString, "
").

Adrian

-----Original Message-----
From: Mike Francisco
Sent: 25 September 2008 21:32
To: cf-talk
Subject: OT- Regex Help- extracting email address

Hello CFers,

I know this is OT, but I'll ask anyway. I was wondering if someone can help
me with regex.

I am returning a query object after executing a cfpop.  On the query object,
there is a column named 'From'.  The data string is formatted like:  "John
Doe" [EMAIL PROTECTED] .   I would like to use regex to strip the data
string and just get the email address.

Thanks in advance, everyone.

mike


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313094
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to