Get the integer inside the URL in PHP
<p>Suppose I am reading a web page and the <a href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator" rel="nofollow">URL</a> is "<a href="http://example.com/term/11,23" rel="nofollow">http://example.com/term/11,23</a>". How can I use <a href="http://en.wikipedia.org/wiki/PHP" rel="nofollow">PHP</a> to get ONLY the integer in the URL?</p>
