I am trying to parse an HTML file ( non strict one) using JavaScript
my output should be the same HTML file, but I need to process the internal content of any <script></script>
tag. I have a method processScript(script)
that does that..
I can assume that there will be no <script/>
tags.
I have a pretty clear idea how to it using just split()
but I wonder if I can do it better using regex?