php hapus tag skrip dari string
$html = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $html);
Clever Chamois
$html = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $html);