title: .NET regular expression
body: <p>I have html page source code with img tags like </p>
  
  <pre><code>&lt;p&gt;xyz &lt;/p&gt;&lt; img ....... 1 . gif &gt;........&lt;p&gt;xyz&lt;/p&gt;
             &lt; img ........ 2 . jpg &gt;..............&lt;p&gt;xyz&lt;/p&gt;    
             &lt; img ........ 3 . jpg &gt;&lt;p&gt;xyz&lt;/p&gt;
             &lt; img ....... 4 . gif &gt;......&lt;span&gt;xyz&lt;/span&gt;
  </code></pre>
  
  <p>Img tags can contains both jpg and other format images and can be in any order in web page source.Now I want to use .NET regular expression which can give me first img tag with JPG image like</p>
  
  <pre><code>&lt; img ... 2. jpg &gt;
  </code></pre>
  
  <p>or any first img tag with no gif image. Basically i want to remove smiley gif images in my regular expression  </p>
  
  <p>Please suggest me the regular expression </p>