Coldfusion: Remove All HTML

I’v been pulling a lot data from different websites lately. That data often has HTML in it that I don’t necessarily always want. This is a quick & easy way to strip all HTML from a var in ColdFusion.

Example ColdFusion Code:

    <cfset textWithoutHTML = ReReplace(textWithHTML, '<[^>]*>','','all')>

Back to Gallery