There are different types of links in the text.http://www.example.ru/linkhttps://www.netsik.com/resource/
and not such a view
<a target="_blank" href="http://www.example.ru/link">ссылка</a> Found such code, but it removes only a specific link.
How to make all links delete?
$html = preg_replace("|http://domain.ru|Uis", "#", $html); 
