Hi Bechara,
should be something like \..*\..*$
.\ means a dot, this one needs to be escaped woth the backslash
.* means a string with any number of characters
If you want to restrict that to three letter extensions only (i.e. .exe.pif), then a quick and dirty way would be like this:
\....\....$
Hope that helps,
Andreas