The -name argument specifies a selection pattern for the name. The -name argument accepts both glob-style wildcards and regular expressions. In the following example, '*.txt' matches all the file or folder names ending with .txt and prints them.
$ find /home/slynux -name '*.txt' -print
The find command has an option -iname (ignore case), which is similar to -name, but it matches filenames regardless of case.
Consider the following example:
$ ls example.txt EXAMPLE.txt file.txt ...