Remove URL from string PHP

f I have a string that contains a url (for examples sake, we'll call it $url) such as; $url = "Here is a funny site http://www.tuny...

f I have a string that contains a url (for examples sake, we'll call it $url) such as;
$url = "Here is a funny site http://www.tunyurl.com/34934";
How do i remove the URL from the string?
Difficulty is, urls might also show up without the http://, such as ;
$url = "Here is another funny site www.tinyurl.com/55555";

There is no HTML present. How would i start a search if http or www
exists, then

Hot in Week

Popular

Archive

item