If you have any programming skills, you can write a program to read the html files into an array of lines (of html). If the script is always at the end of the file, read the array backwards and remove from the array all lines from last line to the first <script tag encountered. Then, reassemble the lines into a file and write it back out to disk.
__________________
Obscenity is whatever gives the Judge an erection...
|