import re


def no_color(text):
    """Remove ANSI color code, so to have a plain text."""
    color_regex = re.compile(r'\033\[(?P<arg_1>\d+)(;(?P<arg_2>\d+)(;(?P<arg_3>\d+))?)?m')
    return color_regex.sub('', text)