I have the following problem. How do i get the number out of this variable:
<div class="right"><a id="ctl111_contestProfileLink" href="http://contests.covers.com/Sportscontests/profile.aspx?user=265839&sportid=0">Picks History</a></div>
The numbers can range from -1000000 till +10000000. Does anyone know how can I achieve that? I saw someone do it with eregi() function, but since this will be deprecated in PHP 6, I wonder if you could do it with preg_match and how?
Or maybe via an other way?