Remove from a URL
<p>So I have the following URL:</p>

<pre><code>http://www.domain.com/Folder1/Folder2/file.php
</code></pre>

<p>Is there a way for me to just grab the <code>http://www.domain.com/Folder1/</code> part?</p>
