title: removing style attribute with regex in asp
body: <p>How can i remove style attribute from any tag with regex in asp?</p>
  
  <pre><code>from:
  
  &lt;div style="margin-top:10px;"&gt;test&lt;/div&gt;
  
  to:
  
  &lt;div&gt;test&lt;/div&gt;
  
  
  
  Set objRegExp = New regexp
  objRegExp.Pattern = "/style\s*=\s*(\'|').+(\'|')/i"
  objRegExp.IgnoreCase = True
  objRegExp.Global = True
  Set resp = objRegExp.Execute(strWordHTML)
  For Each respItem In resp
      strWordHTML= replace(strWordHTML,respItem.Value,"")
  Next
  Set resp = Nothing
  Set objRegExp = Nothing
  </code></pre>
  
  <p>solved <em>*</em></p>
  
  <pre><code>(\sstyle=['""][^'""]+?['""])
  </code></pre>