Use the same regEx in a REFindNoCase. That returns a structure that contains two arrays, len and pos. You can loop over one of the array using the MID() function to get the <a hrefs etc.
REFindNoCase http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functa64.htm#wp1111121 MID http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functa42.htm#wp1109750 larry On 8/6/05, Malcoy Fitzpatrick II <[EMAIL PROTECTED]> wrote: > i need to "catch" all the hrefs, though... > > On 8/6/05, Larry C. Lyons <[EMAIL PROTECTED]> wrote: > > Here's what I use > > > > REReplaceNoCase(stringToStrip,"<[^>]*>","","ALL") > > > > That removes all tags. You may want to try this regex to replace > > anchor (<a type tags), this is from a UDF from CFLib.org: > > http://www.cflib.org/udf.cfm?ID=767 > > > > reReplaceNoCase(stringToStrip,"<[[:space:]]*/a[[:space:]]*>","","all") > > > > hth, > > larry > > > > > > On 8/6/05, Malcoy Fitzpatrick II <[EMAIL PROTECTED]> wrote: > > > anyone have a bit of regex for stripping href's out of a file.. ? > > > -- > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ Triangle Area ColdFusion User Group ]-= > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ http://tacfug.org ]-= > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:168282 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
