Try:
<cfset x = ReReplace(x, "<[^>]*>", "", "All")>
HTH
Dick
At 10:34 AM -0500 7/23/01, Dasher wrote:
>How would you strip HTML code
>from a textarea?
>
>ex. input = "Hi, <table>
>This is some <html>"
>
>ouptut = Hi,
>This is some "
>
>Thanks!
>
>-- Dasher
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists