find . -name '*.html' -print0 | xargs -0 perl -pi -e 's/php\?/html/g'