Useful Regular Expressions

Filed Under (Regex) by khawaib on 12-06-2010

Strips tags won’t remove the actual jscript

$text = preg_replace( "'<script[^>]*>.*?</script>'si", "", $text );