use REReplace function...

<cfset StringWithoutHTML = REReplace(StringWithHTML,"<[^>]*>","","All")>

you'll find a good intro to regular expressions, including this example, in 
the CF 4.0 docs (for some unknown reason, Allaire seem to have removed most 
of the regular expression documentation from 4.5).
http://www.allaire.com/documents/cf4/dochome.htm


Mark


At 03:44 PM 3/1/2001 -0800, you wrote:
>Anyone have a good strip HTML format tag?  I need to strip all the HTML out
>of a string.
>
>
>- Dave
>
>Financial Interactive, Inc.
>David Meyler
>23 Grant Avenue  6th Floor
>San Francisco, CA 94108
>www.finteractive.com
>
>Phone : 415.901.2433
>Fax:      415.901.2401
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to