title: php - Extracting from between two strings using regex
body: <p>Let's say we have a string: <code>&lt;img src="/a.jpg"&gt;</code> - how to extract the <code>/a.jpg</code>?</p>
  
  <p>That one is certainly the wrong one: <code>#&lt;img src="(.*)[^"]"&gt;#</code></p>