<html lang="en">
;;;;;;
<body>
<script>
var a = 3;
var b = a * 10;
</script>
</body>
</html>
This is is content of a string variable of my project.
And I want to remove ;
of javascript code, not remove ;
above the <body>
Only remove ;
between <script>
and </script>
Is it possible by Regular Expression?
The purpose to do this is that I want to remove unnecessary characters of string, and the string can include javascript and other language. But as you know javascript allow semicolons and no-semicolons.