import re


def remove_hanging_parenthesis(sample_string):
    """
    Removes parenthesis at the end of strings.

    Args:
        sample_string (str): Input string

    Returns:
        str
    """
    return re.sub(r"[^.*]\($", "", sample_string).strip()