echo preg_replace('#<a.*?>(.*?)</a>#i','\1',$text);
Please note: JavaScript is required to post comments.