title: Remove Style tag in HTML
body: <p>I need to remove all style tags completely for the given HTML code. I found following regex to match entire style tag in the the XML. It works fine for the given Html code in online regex testers.</p>
  
  <pre><code>*style\s*=\s*('|")[^\2]*?\2([^&gt;]*)*
  </code></pre>
  
  <p>However, through a C# code, it didn't work for the given HTML.</p>
  
  <p><strong>Following is the C# code:</strong></p>
  
  <pre><code>Regex regex = new Regex("style\\s*=\\s*('|\")[^\\2]*?\\2([^&gt;]*)", RegexOptions.IgnoreCase);
  </code></pre>