Find all files with the extension ".txt" and execute the command "sed -i 's/<searchTerm>/<replacementTerm>/g' {} +" on each of them.
find . -name "*.txt" -exec sed -i 's/<searchTerm>/<replacementTerm>/g' {} +