title: Grabbing a specific link's destination with php
body: <p>Im trying to grab the destination (dynamic) of a link (static) with php</p>
  
  <p>Im not sure what the best way to do this is.</p>
  
  <p>the link is</p>
  
  <pre><code>&lt;a href=page.php?XXYYYYYYY&gt;LinkName&lt;/a&gt;
  </code></pre>
  
  <p>the X's are letters and the Y's are numbers (both can vary in length). 'Linkname' always stays the same though.</p>
  
  <p>Is regex the best option here? Or is there a better way?</p>