I'm trying to remove the object tag from a text file:
<object classid=""clsid:F08DF954-8592-11D1-B16A-00C0F0283628"" id=""Slider1"" width=""100"" height=""50"">
<param name=""BorderStyle"" value=""1"" />
<param name=""MousePointer"" value=""0"" />
<param name=""Enabled"" value=""1"" />
<param name=""Min"" value=""0"" />
<param name=""Max"" value=""10"" />
</object>
My regex so far is:
hmtl = Regex.Replace(html, @"]>(?:.?)?", "", RegexOptions.IgnoreCase);
The inner param tags are not removed.