regex removing specified empty xml tag using C#

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-05-09T08:24:25Z Indexed on 2010/05/09 8:28 UTC
Read the original article Hit count: 152

Filed under:
|
|

Hi,

I would like to remove tag like the following one with its attributes using C# .Net how can i do it?

<aaa type="1" class="2" />

other tags like <bbb type="5" class="4" /> i would like to keep.

Best Regards,

© Stack Overflow or respective owner

Related posts about regex

Related posts about c#