code: def rm_brackets(text: str) -> str:
      "Remove all empty brackets from `t`."
      new_line = re.sub(r"\(\)", "", text)
      new_line = re.sub(r"\{\}", "", new_line)
      new_line = re.sub(r"\[\]", "", new_line)
  
      return new_linf rm_brackets(text: str) -> str:
      "Remove all empty brackets from `t`."
      new_line = re.sub(r"\(\)", "", text)
      new_line = re.sub(r"\{\}", "", new_line)
      new_line = re.sub(r"\[\]", "", new_line)
  
      return new_line
docs: Remove all empty brackets from `t`.