parsing url with javascript or jquery
<p>I have a url in this form <a href="http://www.example.com/data/45" rel="nofollow">http://www.example.com/data/45</a>. How do I get the last element (45 in this example) using jQuery or JavaScript?</p>

<p>Thanks.</p>
