Dot notation string manipulation,"re.sub('\\.[^.]+$', '', s)"