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 ]-=
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Protect your mail server with built in anti-virus protection. It's not only 
good for you, it's good for everybody.
http://www.houseoffusion.com/banners/view.cfm?bannerid=39

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:168271
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

Reply via email to