Thanks taco that was exactly what I was looking for, except I needed to add 1 to the length.
Now to modify it to work with this particular tag. At least I see what I was doing wrong too. Regards Andrew Scott Analyst Programmer CMS Transport Systems Level 2/33 Bank Street South Melbourne, Victoria, 3205 Phone: 03 9699 7988 - Fax: 03 9699 7976 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Taco Sent: Wednesday, 13 July 2005 12:17 PM To: CFAussie Mailing List Subject: [cfaussie] RE: Regular Expression Something like this <cfscript> string = '<a href="testing.com">test</a>'; findme = reFindNoCase( '<a href="(.*)[^"]+">[^<]+</a>', string, 1, true ); </cfscript> <cfoutput> #mid( string, findme.pos[2], findme.len[2] )# </cfoutput> --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
