ah yeah... my bad, i haven't drank enough today to make things clear. thanks
On 8/6/05, Larry C. Lyons <[EMAIL PROTECTED]> wrote: > 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 ]-= > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase Studio MX from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=50 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:168283 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=89.70.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
