Strip All Urls From A Mixed String ( php )

mobysol

New Member
i reposted this question because i didn't find a good answer.i have a string which can contains text with urls.i want a function to strip all urls from this string and just let the text.by example the string can contains like this :1) hey take a look here : http://xxx.xxx/545df5 this is nice!2) hey take a look here : http://www.xxx.xxx/545df5 this is nice!3) hey take a look here : xxx.xxx/545df5 this is nice!4) hey take a look here : www.xxx.xxx/545df5 this is nice!Thanks
 
Back
Top