Or you could try a sexy little Regex :)

http://www.howtodothings.com/showarticle.asp?article=37

SteG.

-----Original Message-----
From: Rick Root [mailto:rroot@;wakeinternet.com]
Sent: 05 November 2002 12:59
To: CF-Talk
Subject: Re: Removing all HTML tags


Kris Pilles wrote:
> Does anyone have some CF or a script that will read from my table and
> remove all of the HTMl tags that are contained within???

Search the developer's exchange.  I wrote a tag YEARS ago called 
CF_TagStripper that would strip all or some HTML tags so if you wanted 
to be able to leave in bold tags or italic tags and whatnot.. you can.

Useful for message forum applications and such.  IF you want to just 
plain ol' strip HTML, Raymond Camden's StripHTML function looks like 
it's great and very easy to use.

http://www.cflib.org/udf.cfm?ID=12

  - Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to