How to remove all links from a mixed string with php

namiagrigosiz

New Member
i have a variable in php can be like this : $string = "hello check out this http://xx.xx/xxx & thanks !!";i want a function to strip that link and remove it from the string, the url can be with WWW. or without it.also, this variable can contains multiple urls .Thanks
 
Back
Top