perl -pi -e 's/somestring/otherstring/g' *.htm