awk delimiter

I have several hundred files that look like this:
ABB110405110000.rawfma8
AAB110405110001.rawhr32
If I use the statement ls | awk '{x=$0;gsub("[^0-9]","",x)
I see that all characters other than 0-9 are eliminated but how do I eliminate all characters including numbers after the "."
In my mind I think (just learning) you create a delimiter for "."dot and set x=$1 but what would this look like.

ls | awk -F. '{x=$1...

Regards,
Alister