title: php regex : get src value
body: <p>How do I retrieve all src value using regex in php?</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://localhost/assets/javascript/system.js" charset="UTF-8"&gt;&lt;/script&gt;
  &lt;script type='text/javascript' src='http://localhost/index.php?uid=93db46d877df1af2a360fa2b04aabb3c' charset='UTF-8'&gt;&lt;/script&gt;
  </code></pre>
  
  <p>The retrieved value should only contains:</p>
  
  <ul>
  <li><a href="http://localhost/assets/javascript/system.js" rel="nofollow noreferrer">http://localhost/assets/javascript/system.js</a></li>
  <li><a href="http://localhost/index.php?uid=93db46d877df1af2a360fa2b04aabb3c" rel="nofollow noreferrer">http://localhost/index.php?uid=93db46d877df1af2a360fa2b04aabb3c</a></li>
  </ul>
  
  <p>Thank you.</p>