3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = '<a href="http://lenta.ru/news/2015/07/23/tsipras/" > &laquo;Лента.ру&raquo; </a>'; $aq = preg_replace('~<a\b[^>]*+>|</a\b[^>]*+>~', '', $string); echo $aq;
Output for 4.3.0 - 7.2.0
&laquo;Лента.ру&raquo;