I am trying to use ER (Extended Regular Expressions) with ls like ls .+\\..+.
ls
ls .+\\..+
I am trying to print all files which contains an ext
You are confusing regular expression with shell globbing. If you want to use regular expression to match file names you could do:
$ ls | egrep '.+\..+'