I use a great program called Search and Replace site is
http://www.funduc.com/search_replace.htm it is share ware but if you look on the net, you can find other copies of it. It will go thru whole folders and all types of files and do as the name states. I use it alot with html myself.
Hope this helps cut some time out for ya