<?php $text = "Какой-то <!-- текст <a href= --> eeeeeeeee <!-- \"http://site.ru/page.html\" target=\"_blank\">Text</a>. --> Продолжение текста"; echo preg_replace("/\<\!\-\-[^]*\-\-\>/","", $text);
You have javascript disabled. You will not be able to edit any code.