The two ways I've handled this in the past: #1 - use BBML. CFMBB (www.cfmbb.org) includes a parseBBML udf that I converted from a custom tag written by the dude who runs the depressed press. The nice thing about the BBML parser is that it someone uses a [b] but not [/b], then the opening bold tag is not printed.
#1 - use a tagStripper UDF. I use one that I wrote as a custom tag about 6 years ago that I converted to a UDF, and it is also included in cfmbb and blogcfm. It strips all html tags, optionally allowing specified tags. ie.... <cfset results = tagStripper(results,"b,i,strong,em")> would strip out all the tags except those specified. I don't think the tagStripper UDF I wrote is published anywhere but you can rip it out of the cfmbb or blogcfm downloads if you want it. Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213888 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