I need to add an attribute to a tag within an application so (and this is a
very over-simplified example, BTW) I can find all instances of

<CFMODULE
   TEMPLATE="sometemplate.cfm"
   Attribute1="#session.Attribute1#">

and make them:

<CFMODULE
   TEMPLATE="sometemplate.cfm"
   Attribute1="#session.Attribute1#"
   Attribute2="#session.Attribute2#">

Is there a RegEx which says "Find all instances of the string
'sometemplate.cfm' where the string 'Attribute2' doesn't appear before the
next '>'"?



Thanks


Aidan
-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to