Yeah I hawked it. :P Thanks Jerry.
I love that people like this function so much, it makes me smile whenever I see it recommended, because I know I've helped them. :) I wrote an article for CFDJ that should be in the next issue(?) about an alternative approach of using XML and a CFC to handle user-provided xhtml content and remove tags. > Not sure if this has been suggested (coming in late), but > this > function works well. > http://www.cflib.org/udf.cfm?ID=774 (Thanks Isaac) > Not a simple regex, but it gets the job done. >> On 4/13/06, cf coder <[EMAIL PROTECTED]> wrote: >> > Hello Everybody, >> > >> > I need your help with regular expressions. I'm trying >> > to strip out HTML tags from a string to pass it to a >> > flash movie. >> > >> > I've found a script that does this but the problem is >> > that I want to keep some html formatting specifically >> > the following tags: >> > <b>, <br>, <span>, <i>, <strong>, <div>, <p> s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237703 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54