find . -type f -name '*.html' -exec perl -pi -e 's/php\?/html/g' {} \; [download]
In reply to Re: Find and Replace text script? by duckyd in thread Find and Replace text script? by bobafifi