Thanks LordShryku
Btw , How can i get the href's only and delete all tags , ex :
$string = "<a href=gg.com>Click here</a> <b>I</b> <i>want</i> <u>to</u> <p>remove</p> <div>these</div> <span>tags</span>";
$stripped = strip_tags($string);
echo $stripped;
the result will be :
gg.com
only 🙂