如何去掉html中的超链接

$a= preg_replace("/<a[^>]+>/", "", $a);
$a= preg_replace("/<\/a>/", "", $a);

你可能感兴趣的:(如何去掉html中的超链接)