$pattern = "/<.*>/";
$result = preg_replace($pattern,"",$str);
$isHasCompatibilityYes = preg_replace('/(<span\s\S>)\s\S(</span>)/','',$isHasCompatibilityYes); #span
php 删除之间的内容
猜你喜欢
转载自blog.csdn.net/eddy23513/article/details/81363851
今日推荐
周排行