If you want to do this in C#, I suggest you try a C# list instead of a ColdFusion one. The regular expression should remain largely unchanged, although your requirement of "not in double-quotes" rather than assuming none of them are will complicate things a bit. However, I don't know C# and so can't help you there.
--Ben mira mira wrote: > hi i will be very thankful if u could give > me an example using c#. > > For example if i store the html value in a string > that is > <p class=test>test</p> > <div class=test1 id=test1> test1</div> > <table width="100% valign=top> > </table> > > if i store the above html code in a string html > then i need to write the replacement.first > it must identify the attributes which does > not have double codes and add double codes for > the attributes. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1041 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21
