Strip All Urls From A Mixed String ( php )
<p>i reposted this question because i didn't find a good answer.</p>

<p>i have a string which can contains text with urls.</p>

<p>i want a function to strip all urls from this string and just let the text.</p>

<p>by example the string can contains like this :</p>

<p>1) hey take a look here : <a href="http://xxx.xxx/545df5" rel="nofollow">http://xxx.xxx/545df5</a> this is nice!</p>

<p>2) hey take a look here : <a href="http://www.xxx.xxx/545df5" rel="nofollow">http://www.xxx.xxx/545df5</a> this is nice!</p>

<p>3) hey take a look here : xxx.xxx/545df5 this is nice!</p>

<p>4) hey take a look here : www.xxx.xxx/545df5 this is nice!</p>

<p>Thanks</p>
