Im trying to get the content what is is the javascript script tag.
<script type="text/javascript"> [CONTENT HERE] </script>
currently i have something like this:
$start = preg_quote('<script type="text/javascript">', '/');
$end = preg_quote('</script>', '/');
preg_match('/ '.$start. '(.*?)' .$end.' /', $test, $matches);
But when i vardump it, its empty