remove <script> tags from php echo code example
Example: php remove script tag from string
$html = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $html);
$html = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $html);