title: Preg_Match Last String From A URL
body: <p>What i'm trying to do is to get the pagination from a web url with preg_match</p>
  
  <p>Example: <a href="http://www.google.com/page/223" rel="nofollow">http://www.google.com/page/223</a></p>
  
  <p>What i need from this url is " 223 "</p>
  
  <p>I try this code but is not working ...</p>
  
  <pre><code>preg_match('~"http://www.google.com/page/(.*)"~iU', 'http://www.google.com/page/223', $page);
  
  print_r($page);
  </code></pre>