Find all files with the extension ".txt" in the current directory and its subdirectories, and search for the string "string" in each of those files, displaying the filename and the line containing the string.
find . -iname "*.txt" | xargs grep -H "string"