Simplest way to search for things like that might be to search for "< in your string.
-----Original Message----- From: DURETTE, STEVEN J (ATTASIAIT) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 13, 2007 8:05 AM To: CF-Talk Subject: Searching for improperly nested tags (tags inside of tags). Hi all, Got what I hope will be a quick one for you... I have a code review tool that finds common CF programming problems, but if it hits an improperly nested tag the tool tanks and reports no problems even if there are multiple. Normally this isn't a problem because the programmers in our shop know not to do it, but recently we have had to have some contractors come in, and occasionally I need to make changes to their code and I've found it happening. I'm looking to see if any one has some code/regex/etc to find this problem. I would most likely then run that code first, make the contractors fix it, and then run the code review tool. When I say improperly nested I mean like this: <input name="test" value="<cfoutput>#VariableValue#</cfoutput>" /> our policy is to use <cfoutput><input name="test" value="#VariableValue#" /> Thanks, Steve ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280979 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4