<?php
$string = preg_replace("@<script type="text/javascript">(.*?)</script>@si","",$veri);
?>
Tırnakları ve regex ifadesini düzenleyin