Sometimes one needs to recursively replace some old expression with a new expression. This can be done very efficiently with sed command.
Simply adapt the following command with the proper path and expressions:
find . -type f | xargs sed -i 's/oldexpr/newexpr/g'
Remember that special characters in expressions must be escaped.