http://www.perlmonks.org?node_id=696341


in reply to Re: Editing HTML files
in thread Editing HTML files

or make a backup just to make sure and then while in the directory with the html files maybe:
perl -pi -e 's/find/replace/g' *.html