preg_replace to remove all words beginning with http:// and ending with a space
<p>i got an idea to remove all links from a string with PHP.</p>

<p>i need a preg_replace to remove and strip all words beginning with :</p>

<p>http://   or  https://  or www. or www3. or ftp://</p>

<p>and ending with a white space.</p>

<p>example : hello <a href="http://dsqdsq.com/fdsfsd?fsdflsd" rel="nofollow">http://dsqdsq.com/fdsfsd?fsdflsd</a> enjoy !</p>

<p>it's will be : hello enjoy !</p>

<p>Thanks</p>
