title: Regex to Match HTML Style Properties
body: <p>In need of a regex master here!</p>
  
  <pre><code>&lt;img src="\img.gif" style="float:left; border:0" /&gt;
  &lt;img src="\img.gif" style="border:0; float:right" /&gt;
  </code></pre>
  
  <p>Given the above HTML, I need a regex pattern that will match "float:right" or "float:left" but only on an img tag.</p>
  
  <p>Thanks in advance!</p>