Ben Doom wrote: > Not tested, but try this (or a variation): > > (<!---.*?(?!--->))?<cfquery(.|[\r\n])*?/cfquery>((?<!<!--).*?--->)? > > I don't use DW, so I don't know if this supports negative > lookahead/lookbehind, and this is sort of off the top of my very tired head. > > HTH. > > --Ben The Regex Ninja Doom I will try this, but in my attempt to understand the code, what part is a "negative look ahead/look behind" ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1070 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21
