Solved: Can't Delete unwanted txt from HTML file

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

JuniperGreen

Thread Starter
Joined
Jan 3, 2013
Messages
25
I seem to collect quite a number of HTML files which for one reason or another have additional text which appears at the end of the HTML file. This text is located after the closing tags </body></html>. Currently, to remove it, I have to load each file in Notebook and delete the unwanted text as I have found HTML tag removing software just ignores it as you would expect. Consequently, I am looking for a VBS script to scroll through a directory of such html files and remove any entries added after the </body></html> tags in each of the HTML files.

I have drawn a blank on anything like this having been discussed so far, so I would be grateful for any help. I suspect any script might involve the use of regex a somewhat daunting prospect for me.

Thank you




Vista Home Premium 32bit
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top