title: PHP Remove URL from string
body: <p>If I have a string that contains a url (for examples sake, we'll call it $url) such as;</p>
  
  <pre><code>$url = "Here is a funny site http://www.tunyurl.com/34934";
  </code></pre>
  
  <p>How do i remove the URL from the string?
  Difficulty is, urls might also show up without the http://, such as ;</p>
  
  <pre><code>$url = "Here is another funny site www.tinyurl.com/55555";
  </code></pre>
  
  <p>There is no HTML present. How would i start a search if http or www exists, then remove the text/numbers/symbols until the first space?</p>