in reply to Drop middle part in a substitution

s/[.][^.]*(...)$/.$1/;
Abigail