$a= preg_replace("/<a[^>]+>/", "", $a); $a= preg_replace("/<\/a>/", "", $a); 转载于:https://www.cnblogs.com/wawahaha/p/3312857.html