compoundExtension

/path\to/file.1.EXT -> 1.EXT