Find if a string contains a specific query string and return its value
<p>I have pagination links set-up like this:</p>

<p><a href="http://localhost/?page=2" rel="nofollow">http://localhost/?page=2</a><br/>
<a href="http://localhost/?page=3" rel="nofollow">http://localhost/?page=3</a></p>

<p>They are wrapped in Anchor links as the HREF attribute. I want to know how can I check first if the HREF attribute for a given ANCHOR contains the query string "page" case sensitive, and if it exists return its number the value after page=</p>

<p>Please give me a straightforward example on this, much appreciated. :)</p>
