Yep, that should work. Assuming #context# is a variable string containing HTML and you're setting the return value int a variable:
<cfset context = REReplaceNoCase(context,"<[^>]*>","","ALL") /> Is it stripping no HTML, some HTML? Is it erroring? On 10/26/06, Les Irvin <[EMAIL PROTECTED]> wrote: > Dang, I'm confused. Will this function strip all the html code from a > document, including that in between the brackets? > > REReplaceNoCase(context,"<[^>]*>","","ALL") > > It doesn't seem to be working. Or I've screwed up the code. Is there a > better way? > > Thanks in advance, > Les > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258195 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4