Regular expressions for searching inline styles

Hello all,

I have the following regular expression to search for any inline styles defined on a particular web page.


The above expression matches the following strings:

<style type="text/css">#w{ margin-top:0px;}</style>
<style>#w{ margin-top:0px;}</style>

Is it possible to extend the above regular expression such that it excludes the following inline style definitions that are written as IE hacks?

<!--[if IE]><style>#w{ margin-top:0px;}</style><![endif]--> 
<!--[if IE 6]><style type="text/css">#w{ margin-top:0px;}</style><![endif]-->
<!--[if IE 7]><style>#w{ margin-top:0px;}</style><![endif]-->