php替换script元素

$description = preg_replace('/<script[^>]+>.*?<\/script>/si','',$description);



你可能感兴趣的:(php替换script元素)