Javascript remove characters utill 3 slash /
<p>Whats the best to way, based on the input below, to get everything in the url after the domain:</p>

<pre><code>var url = "http://www.domain.com.uk/sadsad/asdsadsad/asdasdasda/?asda=ggy";
var url = "http://www.domain.com.uk/asdsadsad/asdasdasda/#45435";
var url = "http://www.domain.com.uk/asdasdasda/?324324";
var url = "http://www.domain.com.uk/asdasdasda/";
</code></pre>

<p>The output:</p>

<pre><code>url = "/sadsad/asdsadsad/asdasdasda/?asda=ggy";
url = "/asdsadsad/asdasdasda/#45435";
url = "/asdasdasda/?324324";
</code></pre>

<p>UPDATE: the domain its not always the same. (sorry)</p>

<p>Thx</p>
