Find all files with the extension .txt in the directory /path/to/directory and replace the string "original" with "replacement" in each file.
find /path/to/directory -name "*.txt" | xargs sed -i 's/original/replacement/'