PHP Strip between 2 points
<p>This is really simple problem but I still seem to be stuck on it.</p>

<p>I'm looking to grab the filename and extension from this string:</p>

<pre><code>/customscripts/systemfunctions/showimage.asp?img=109(14).JPG&amp;folder=listingpics/220/138/&amp;maxW=200&amp;maxH=120
</code></pre>

<p>What I'm looking to grab is the "<strong>img=109(14).JPG</strong>"</p>

<p>Possibly using a preg_replace or something.</p>

<p>Anyway, any help would be appreciated.</p>

<p>Thanks!</p>
