My experience says that there is a program that will easily do that. I checked all my html editors and did not find highlight and save option. The problem is most programs don't list all of their capabilities.
This is not the answer, but it might stear you in the correct direction.
This Yahoo Q & A list a coding site. You might find it there. I did a
quick search and did not find it. You might have better luck.