Actually, fixed it to handle the <tag> or <tag/> issue: pattern = '<nutag[^/>]*href="([^"]*)"[^/>]*/?>';
Mark On 7/13/05, Mark Mandel <[EMAIL PROTECTED]> wrote: > Got it for ya Andrew - > > <cfscript> > str = '<nutag Att1="one" Att2="two" href="got it" Att3="three" />'; > > pattern = '<nutag[^/]*href="([^"]*)"[^/]*/>'; > > p = refindNoCase(pattern, str, 1, true); > </cfscript> > > <cfdump var="#p#"> > > <cfoutput>#mid(str, p.pos[2], p.len[2])#</cfoutput> > > let me know if it doesn't work on something :o) > > Mark > > On 7/13/05, Andrew Scott <[EMAIL PROTECTED]> wrote: > > This bit I am writing is for me and my personal website, so this is what I > > require and is not for anyone else's eyes. > > > > 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 > -- > E: [EMAIL PROTECTED] > W: www.compoundtheory.com > ICQ: 3094740 > -- E: [EMAIL PROTECTED] W: www.compoundtheory.com ICQ: 3094740 --- 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/
