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