How to get the path of a URL
<p>Have a URL, how to retrieve its path part?</p>

<p><a href="http://www.costo.com/test1/test2" rel="nofollow">http://www.costo.com/test1/test2</a></p>

<p>How to get "test1/test2"</p>
