You could create any type of script to parse out the <script> tags through regular expressions. Install PHP on the local machine and run scripts through the command line.

http://stackoverflow.com/questions/7...m-html-content