regular expression to exclude filetypes from find

Viewed 23153

When using find command in linux, one can add a -regex flag that uses emacs regualr expressions to match.

I want find to look for all files except .jar files and .ear files. what would be the regular expression in this case?

Thanks

4 Answers
Related