If you just want the value of href, do something like: Rereplacenocase(string, "<a href=([^>]*)>", "\1", "ALL")
______________________ steve oliver cresco technologies, inc. http://www.crescotech.com -----Original Message----- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 1:10 PM To: CF-Talk Subject: Another RegEx question I find myself needing to find all the HREF values on a given page. Regular Expressions are the answer, but I haven't nailed the pattern yet. Any help??? I've tried the following: "\w+:\/\/[^/:]+:\d*?[^# ]*" "(\w+)://([^/:]+)(:\d+)?/(.*)[\s|>]" "href=\S.*[\S|>]" They tend to give me more than just the href value, like the next 3 tags and text between em. The first two patterns are directly from a microsoft article on this (I'm working in VB too), with the first being the same as the second but no ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

