How to exclude style attribute from HTML string with regular expressions?
For example if we have following inline HTML string:
<html><body style="background-color:yellow"><h2 style="background-color:red">This is a heading</h2><p style="background-color:green">This is a paragraph.</p></body></html>
When apply the regular expression matching, matched result should look like:
<html><body ><h2 >This is a heading</h2><p >This is a paragraph.</p></body></html>