Thanks Michael, Ideally I would like to keep the comments in Uppercase but can do without it. > >You can use just about any regex tool to do the job, including writing >a fast tool in CF to do the job.
I am not sure how to use it but will play with it. (<cfquery[^>]+>.+?</cfquery>) >\L\1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:331161 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4