import re


def strip_el(el_function: str) -> str:
    """
    Given an el function or variable like ${ variable },
    strips out everything except for the variable.
    """

    return re.sub("[${}]", "", el_function).strip()