how to search files efficiently using patterns

hi friens, :slight_smile:

  if i need to find files with extension .c\+\+,.C\+\+,.cpp,.Cpp,.CPp,.cPP,.CpP,.cpP,.c,.C 

wat is the pattern for finding them

:confused:

If you want to use find, then use

find /dir/to/search -iname "*.c*"

hi vino,
it displays even *.css, class files etc.,,

i also tried using

find /home/ -iname *.c[p+][p+] -o -iname *.c

it gave the result. but needed to be more optimised na :o