import re


def scrub_ansi(s):
    """Remove ANSI escape sequences from string

    Arguments:
        s (str): string to scrub
    Returns:
        (str): string without ANSI escape sequences
    """
    ansi_escape = re.compile(r'(\x9B|\x1B\[)[0-?]*[ -/]*[@-~]')
    return ansi_escape.sub('', s)