in reply to Find and Replace text script?
You mean like:
find . -name '*.html' | xargs perl -pi -e 's/php\?/html/g' [download]
/J\