Search recursively for any files in a temporary directory for any strings that match the pattern of three digits, a hyphen, three digits, a hyphen, and four digits.
grep -r '\d{3}-\d{3}-\d{4}' $(mktemp -d)/*