Is there a way using CF's Regex functions to simplfy the lines of code below into one line? Some kind of built in regex list comparison maybe?
<cfset finalDescription = replace(trim(form.description), "<br>", "<br />", "ALL")> <cfset finalDescription = replace(finalDescription, "<p></p>", "<br /><br />", "ALL")> <cfset finalDescription = replace(finalDescription, "<p>", "<br /><br />", "ALL")> Thanks, CV ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325435 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

