title: Regex expression to find all paths in a HTML string
body: <p>I have a string, with a htmlentities encoded HTML code.</p>
  
  <p>What I want to do is find <strong>all</strong> the paths in the document, between:</p>
  
  <p>href="XXX", src="XXX".</p>
  
  <p>I do have a regex expression that find all the links starting by http, https, ftp and file, and lest me iterate over it:</p>
  
  <pre><code>"/\b(?:(?:https?|ftp|file):\/\/|www\.|ftp\.)[-A-Z0-9+&amp;@#\/%=~_|$?!:,.]*[A-Z0-9+&amp;@#\/%=~_|$]/i"
  </code></pre>
  
  <p>Any idea?</p>