View Single Post
Old 10-25-2010, 01:13 AM  
Datz
Registered User
 
Datz's Avatar
 
Industry Role:
Join Date: Jul 2010
Posts: 13
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...
Datz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook