title: How to remove hostname from string using PHP?
body: <p>Can someone tell me how to strip anything that appears between <code>http://</code> and <code>/</code>? For example, <code>http://something/</code> or <code>http://something.something.something/</code> so it changes to just <code>/</code>?</p>