php正则匹配到字符串里面的a标签

$cont preg_replace('/<a href=\"(.*?)\".*?>(.*?)<\/a>/i','',$cont);

posted @ 2017-08-09 23:39  shaoguan  阅读(1305)  评论(0)    收藏  举报