title: Regular Expression to find Images in various formats/tags
body: <p>I need a regular expression which finds images within a websites source code. I have this so far:</p>
  
  <pre><code>images = re.findall(r'src=[\"|\']([^\"|\']+)[\"|\']',webpage.decode())
  images.sort()
  print (f'[+] {len(images)} images Found:')
  for image in images:
      print(image)
  </code></pre>
  
  <p>This has been finding images in  the format:</p>
  
  <p><code>&lt;img src="2001-a-space-odyssey.JPG"/&gt;</code></p>
  
  <p><code>&lt;img src="http://www.example.com/content/icon.gif"/&gt;</code></p>
  
  <p>but doesn't find images that are in the format:</p>
  
  <p><code>&lt;form action="example.jpg"&gt;</code></p>
  
  <p><code>&lt;!-- &lt;img src="big.jpg" /&gt; --&gt;</code></p>
  
  <p><code>background-image:url("xine.png");</code></p>
  
  <p>I need a regular expression to find all of these, however, I don't want one that is like <code>png|jpeg|gif</code> etc..</p>