Ignoring certain extensions

Dear Friends,

I want to move all the files to temp folder except files having following extensions which are case sensitive.
.ttM
.Hmt
.dMt

Request you to guide me to do the same
Thank you in advance
Anushree

for file in `ls|xargs`
  case "$file" in 
    "*.[tT][tT][mM]"|"*.[hH][mM][tT]"|"*.[dD][mM][tT]") echo "not to do anything" ;;
    ?) mv $file /tmp/ ;;
  esac
done
mv `ls -1 | egrep -v '.ttM$|.Hmt$|.dMt$'` /tmp

thru find command,

find . -maxdepth 1 -type f ! \( -name '*.ttM' -o  -name '*.Hmt' -o -name '*.dMt' \) -exec mv {} tmp_dir \;