php remove script tag from string

123

php remove script tag from string -

$html = preg_replace('#<script(.*?)>(.*?)</script>#is', '', $html);

Comments

Submit
0 Comments