My colleague provided me an extremely useful script that will replace a source string with a target string in all files in the current directory and its subdirectories.
find . -type f | xargs perl -pi~ -e 's/oldtext/newtext/g;'
Replace "oldtext" with the source string, and "newtext" with the target string.
During the replacement, all original files are backed up with a "~" suffix.