title: Remove Base URL from a link in a string
body: <p>I have a string with an image link.</p>
  
  <pre><code>$image_link_raw = 'http://website.com/files/2012/10/image001.png';
  </code></pre>
  
  <p>Now I wanted to remove <code>http://website.com</code> and just get <code>/files/2012/10/image001.png</code> like:</p>
  
  <pre><code>$image_link_raw = '/files/2012/10/image001.png';
  </code></pre>
  
  <p>Is there a way to do that in PHP?</p>