Find all files with the extension .txt in the ~/project directory and replace all occurrences of the string "unwanted_text" with "replacement_text" in each file.
find ~/project -type f -name "*.txt" | xargs sed -i 's/unwanted_text/replacement_text/g'