def METHOD_NAME(latex_string):
    """Replace some spurious LaTeX encoding characters and expressions."""
    chars_to_replace = ["$", "{", "}"]
    for char_to_replace in chars_to_replace:
        latex_string = latex_string.replace(char_to_replace, "")
    latex_string = latex_string.replace("~", " ")
    exprs_to_replace = [r"\\mathrm\s*", r"\\text\s*", r"\\rm\s*"]
    for expr_to_replace in exprs_to_replace:
        latex_string = re.sub(expr_to_replace, "", latex_string)
    return latex_string