<cfset VAR = REReplace(VAR, "<[^>]*>", "", "All")>
If theres a text : <sometag> lalalala <sometag> bababa
it will remove the <sometag>'s and return "lalalalala babababa"
Tom Espen Pedersen
developer
www.pixelduck.com
----- Original Message -----
From: "Aidan Whitehall" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, December 12, 2000 10:58 AM
Subject: RegEx to strip HTML
> Does anyone know a RegEx to strip HTML tags from a string?
>
> I've done a search but can't make sense of the RegEx's that have turned up
> (Perl - eek! what's that?!? - j/k ;-)
>
>
>
> Thanks
>
> --
> Aidan Whitehall <[EMAIL PROTECTED]>
> Netshopper UK Ltd
> Advanced Web Solutions & Services
>
> http://www.netshopperuk.com/
> Telephone +44 (01744) 648650
> Fax +44 (01744) 648651
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists