regex removing specified empty xml tag using C#

hinnaIlluth

New Member
I would like to remove tag like the following one with its attributes using C# .Nethow can i do it?\[code\]<aaa type="1" class="2" />\[/code\]other tags like \[code\]<bbb type="5" class="4" />\[/code\] i would like to keep.Best Regards,
 
Top