Here is a 3 step tutorial on regular expressions:

This will replace ANY tags from a string.

#rereplacenocase(attributes.string,"<[^>]*>","","all")#

<[^>]*>  says:

1) find a "<"
2) find anything (*) NOT (^) equal to a ">"
3) find a ">"

Steve

Will Edwards wrote:
> 
> Does anyone know where I can find a custom tag or maybe a new method in CF
> 4.5 that will strip HTML out of a string?
> 
> -will
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to