<cfset result = reFindNoCase("[EMAIL PROTECTED]", string, 1, "true")>
<cfdump var="#result#">
I think that regex will do, use mid to retrieve the string.

-----Original Message-----
From: Ryan Sabir [mailto:[EMAIL PROTECTED]
Sent: Friday, 30 April 2004 2:40 PM
To: CFAussie Mailing List
Subject: [cfaussie] Reg expression help


Can someone give me the regular expression that will grab just the
email address out of a string that looks like this:

Ryan Sabir <[EMAIL PROTECTED]>

I want to end up with

[EMAIL PROTECTED]

Should I be using REFind or REReplace for this?

i had a few goes, but didn't get it working.... :(

thanks...

-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to