Find all files with the extension .txt in the current directory and its subdirectories that were modified in the last 24 hours and search for the string "string" in them, ignoring case.
find ./ -name "*.txt" -mtime 0 -exec grep -il "string" {} \;