import re


def remove_variables(text):
    """
    Removes variables like ${misc:Depends}

    Args:
        text (str): The text to replace the variables
    Returns:
        str: The text without the variables
    """
    return re.sub(r"(\(.*\${.*}.*\))", "", text)