title: Parse between slashes within URL
body: <p>I'm trying to parse two numbers within a URL. The URL is here:</p>
  
  <p><a href="http://movies.actionpaxed.com/5600_5949/5943/5/pics/none/500k/3min/003.jpg?nvb=20130811232301&amp;nva=20130812012301&amp;hash=090a687f7e27b2f5ef735" rel="nofollow">http://movies.actionpaxed.com/5600_5949/5943/5/pics/none/500k/3min/003.jpg?nvb=20130811232301&amp;nva=20130812012301&amp;hash=090a687f7e27b2f5ef735</a></p>
  
  <p>I'm trying to only get the "5943/5" portion of the URL. I would just parse the URL, then use str_replace, but the folders around the two I need, vary in name.</p>
  
  <p>So far I have:</p>
  
  <pre><code>$homepage = file_get_contents($url);
  $link = parse_to_string('"video_url":"', '"};', $homepage);
  $link = str_replace(array( '"low":"', '"};'), '', $link);
  $link = utf8_decode(urldecode($link));
  </code></pre>
  
  <p>At the end of this code, $link = <a href="http://movies.actionpaxed.com/5600_5949/5943/5/pics/none/500k/3min/003.jpg?nvb=20130811232301&amp;nva=20130812012301&amp;hash=090a687f7e27b2f5ef735" rel="nofollow">http://movies.actionpaxed.com/5600_5949/5943/5/pics/none/500k/3min/003.jpg?nvb=20130811232301&amp;nva=20130812012301&amp;hash=090a687f7e27b2f5ef735</a></p>
  
  <p>Any help with the regex expression that can take care of this for me, would be greatly appreciated!</p>