title: How To make Preg_Match or PATTERN
body: <p>I have a url and i want it pattern or preg_match function 
  url looks like this </p>
  
  <pre><code>http://www.myurl.com/login/login.php?confirmation=1&amp;sub=a18c6aff-614c-49b2-ab67-5d90f839dce6-299072-1
  </code></pre>
  
  <p>i am going to run with loop and every time i am getting a different url but i need only the last value </p>
  
  <blockquote>
    <p>a18c6aff-614c-49b2-ab67-5d90f839dce6-299072-1</p>
  </blockquote>
  
  <p>i tried every process that i know for preg_match but i failed</p>