"(?:__XB/|@eaDir/|thumbs.db|<[A-Za-z0-9]+><.>CR2)"
I'm not sure what you are trying to do above with all the angle brackets... Maybe you were looking at some strange dialed of regex.
In regex dot "." means any character. * means "zero or more of"
I think what you might have wanted to say at first was ".*CR2"
which says "zero or more of any character followed by CR2"
maelcum's example will exclude anything that contains the characters CR2 preceded by one wildcard character. What he should probably do for his log files is like "[.]log"
Because when you put period inside character class brackets it means really dot. You can also escape stuff with backslashes
so like
\.log
If your command shell is complaining or doing bad things with all these special characters like * $ etc. try using single quotes for wrapping the regex string instead of doubles. In many interpreters, single quotes mean "leave this string alone"