How can I remove the (//<![CDATA[ , //]]>) blocks; tags inside a script element.
<script type="text/javascript">
    //<![CDATA[
    var l=new Array();
    ..........................
    ..........................
    //]]>
</script>
Looks like it can be done with preg_replace() but havent found a solution that works for me. 
What regex would I use?
 
     
     
     
     
     
     
     
     
    