It cost me to make the below code to work.  Should I use a Rereplace expression?
(<cfquery[^>]+>.+?</cfquery>)
\L\1

Thanks in advance for your feedbacks


>Do you need all of the query lowercased or is there part that you want
>to keep uppercased? If you don't care then this regex will do the job:
>
>(<cfquery[^>]+>.+?</cfquery>)
>\L\1
>
>The first line grabs all cfquery tags and their content and the second
>like converts it to lower case. I'd test the regex against all of your
>templates first to see if there are any cases that you want to avoid.
>
>You can use just about any regex tool to do the job, including writing
>a fast tool in CF to do the job.
>
>--
>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:331163
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to