Hi,

I'm just trying to strip HTML when looping over a query, and have a very
basic regex - but for some reason, it just ignores it and refuses to
work.  No errors, just a load of horrible HTML that I want stripped!

I wonder if anyone can see where I'm going wrong?  #description# is the
one that needs stripping.  

<cfloop query="testQ">

<cfset description= #ReReplacenocase(description,"<[^>]*>","","ALL")#>

<cfoutput><p><a
href="#link#">#title#</a><br>#description#</p></cfoutput>
</cfloop>  

Thanks very much

Will


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to