$icerik = '<a href="http://google.com"> Google </a>'; $icerik = preg_replace('/<a href="([^<]*)">([^<]*)<\/a>/', '$2', $icerik); echo $icerik;