code: def collapse_initials(name):
      
      if len(name.split(".")) > 1:
          name = re.sub(r'([A-Z]\.)[\s\-]+(?=[A-Z]\.)', r'\1', name)
      return name
docs: Remove the space between initials, eg T. A. --> T.A.