Find all files in the home directory and execute a grep command to search for lines that start with any character followed by three digits and print the name of the file containing the match.
find ~/ -type f -exec grep -l "^\.\*[0-9]\{3\}$" {} \+