<?php $string = '<a href="http://lenta.ru/news/2015/07/23/tsipras/" > «Лента.ру» </a>'; $aq = preg_replace('~<a\b[^>]*+>|</a\b[^>]*+>~', '', $string); echo $aq;
You have javascript disabled. You will not be able to edit any code.