php remove script tag from string

118

php remove script tag from string -

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

Comments

Submit
0 Comments