こんな感じか。.cc以外を無視
syntax: regexp
^.+\.(?!cc)[^.]+$

http://www.python.jp/doc/release/library/re.html#re-syntax