code: def convert_camel_case_string(name: str) -> str:
      
      string = re.sub("(.)([A-Z][a-z]+)", r"\1_\2", name)
      return re.sub("([a-z0-9])([A-Z])", r"\1_\2", string).lower()
docs: Convert camel case string to snake case