That too :-) Cheers, Previous Guy
-----Original Message----- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 01, 2007 7:05 AM To: CF-Talk Subject: Re: Strip HTML from a Collection 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? > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276619 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4