jalarie's code works, but if you truly want (or need) a regular expression, this is simple but gets the job done:
var str = "aaaa.bbbb.cccc.tiff",
result = str.match(/\.(\w+)$/);
In the meantime, you should probably read more about regular expressions. And if you don't need one, don't use one unless it makes things severely less complicated.