Case insensitive regex.
Applescript to save the html to a chosen file.
Write text to file as UTF-8.