I've got Ben Forta's "Sams Teach Yourself Regular Expressions in 10 Minutes" in my Safari online bookcase - each lesson is designed to take 10 minutes. I haven't read much yet but it's good so far, very easy to read and digest.
K. -- Kay Smoljak Senior Developer/QC Leader/Search Optimisation PerthWeb Pty Ltd - http://www.perthweb.com.au/ Ph: 08 9226 1366 - Fax: 08 9226 1375 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of James Macpherson > Sent: Friday, 30 April 2004 1:18 PM > To: CFAussie Mailing List > Subject: [cfaussie] RE: Reg expression help > > ace - and after my pathetic attempt to be useful - can anyone > recommend any good regex resources - I've got a dusty old > Perl book but I could really do with polishing the ol' skills somewhat > > - J > > > -----Original Message----- > > From: Mike Everest [mailto:[EMAIL PROTECTED] > > Sent: Friday, 30 April 2004 3:03 PM > > To: CFAussie Mailing List > > Subject: [cfaussie] RE: Reg expression help > > > > > > Howdi, > > > > <cfset string="Ryan Sabir <[EMAIL PROTECTED]>"> > > > > <cfset ret=refindnocase("[^<]*<([^>]*)>", string, 1, true)> <cfif > > arraylen(ret.pos) gt 1> > > <cfset address=mid(string, ret.pos[2], ret.len[2])> <cfelse> > > <cfset address="not found"> > > </cfif> > > > > <cfoutput>#address#</cfoutput> > > > > cheers. > > > > +----------------------------------------------------+ > > | VeriPay mPOS - Anywhere, Anytime | > > | Puts money in your bank while you're on the road | > > | Secure Credit Card Transactions via SMS messaging | > > | From Xilo Online www.xilo.com/mpos | > > +----------------------------------------------------+ > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] Behalf Of Ryan > > > Sabir > > > 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 > > > > --- > 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
