There is a dynamic link
<a href="http адрес динамический" target="_blank">динамическое содержимое</a> It would be necessary that only the 'dynamic content' would remain
$html_links = preg_replace('"\b(https?://\S+)"', '', $text); remains
<a href=" target="_blank">динамическое содержимое</a> Help to win regexp, I do not understand anything in it.
echo strip_tags("<a href='link' target='_blank'>динамическое содержимое</a>");- koks_rsstrip_tags:$content = strip_tags($s);- Wiktor Stribiżew