I tried this but as you can see I am REgex illiterate and more... REReplaceNoCase(TheFile,"(<cfquery[^>]+>.+?</cfquery>)","(<cfquery[^>]+>.+?</cfquery>\L\1)","all")
It will return the content of the cfquery but I am cannot find a way to lowercase it properly. Thanks >yes. REReplace. >The pattern your trying to match is the first line. It says that we're >looking to capture something that starts with a cfquery tag, has >content, and then ends with a closing cfquery tag. >The replace has a \L before the content returned from the pattern (the >query tag). \L means that everything that comes after it will be lower >cased. End result is a whole cfquery tag along with body converted to >lower case. > >-- >Michael Dinowitz > > > > > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:331182 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4