title: Regex to remove body tag attributes (C#)
body: <p>Anyone has a regex that can remove the attributes from a body tag</p>
  
  <p>for example:</p>
  
  <pre><code>&lt;body bgcolor="White" style="font-family:sans-serif;font-size:10pt;"&gt;
  </code></pre>
  
  <p>to return:</p>
  
  <pre><code>&lt;body&gt;
  </code></pre>
  
  <p>It would also be interesting to see an example of removing just a specific attribute, like:</p>
  
  <pre><code>&lt;body bgcolor="White" style="font-family:sans-serif;font-size:10pt;"&gt;
  </code></pre>
  
  <p>to return:</p>
  
  <pre><code>&lt;body bgcolor="White"&gt;
  </code></pre>