Remove all content after the closing </html> tag

Jan 5, 2015 at 3:50 PM
A virus infected all .html and .htm files on my HD, by inserting a portion of bad code after the closing </html> tag, in ~20000 files.

I would like to run a search and replace command that deletes everything after the </html> tag.

Would anyone be so kind to indicate a proper formula for doing that, if that's possible using this software.

Thanks a lot!