I am trying to remove JavaScript from the HTML.
I can\'t get the regular expression to work with PHP; it\'s giving me an null array. Why?
Here's an idea
while (true) { if ($beginning = strpos($var,"")) - $beginning; substr_replace($var, "", $beginning, $stringLength); } else { break } }