@classmethod
    def string_filter_ansi(cls, colored_string):
        return cls.ANSI_REG.sub('', colored_string)
Filters out colors in a string, returning only the name.
dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/colorlib/styles.py/Style.string_filter_ansi