On Unix, in one command line ?

# Here the search is in PHP files, but
# replace by whatever your file extension is.
find . -name "*.php" -print | xargs sed -i 's/<search>/<replace>/g'
# and that's all.