title: Regex to find all the img tags with http url
body: <p>I have is javascript regex to extract all the <code>&lt;img&gt;</code> tags that have the <code>src</code> as <code>http://....</code>  from a string.</p>
  
  <pre><code>regex = /&lt;img[^&gt;]+src="?(http:\/\/[^"&gt;]+)"?\s*\/&gt;/g;
  </code></pre>
  
  <p>My question is how to do this in Java, and secondly the above regex only gives the content of <code>src</code>, I want to extract and replace the whole <code>&lt;img&gt;</code> with blank spaces.</p>
  
  <hr>
  
  <p>PS. The may have many other properties also along with the src, like 'class', 'alt' etc.</p>