title: How to remove all links from a mixed string with php
body: <p>i have a variable in php can be like this : $string = "hello check out this <a href="http://xx.xx/xxx" rel="nofollow noreferrer">http://xx.xx/xxx</a> &amp; thanks !!";</p>
  
  <p>i want a function to strip that link and remove it from the string, the url can be with WWW. or without it.</p>
  
  <p>also, this variable can contains multiple urls .</p>
  
  <p>Thanks</p>