Actually for #2, you want to just use htmleditformat <cfset cleantext = htmlEditFormat(queryname.column)>
On 4/30/07, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: > That depends. Do you mean just take it out completely or have it displayed > as text? > > To take out all html tags you can use a regular expression like... > <cfset cleantext = rereplace(queryname.column, "<[^>]*>", "", "all") /> > > To just make the html display as normal text just replace < with < > <cfset cleantext = replace(queryname.column, "<", "<", "all") /> > > Good luck > > > -----Original Message----- > From: Mark Flewellen [mailto:[EMAIL PROTECTED] > Sent: Monday, April 30, 2007 10:09 PM > To: CF-Talk > Subject: Strip HTML from a Collection > > How do people on this list deal with stripping html a column in a query > prior to loading the query into a coldfusion collection? > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276595 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

