def strip_raw_codes(self, string):
        return self.ansi_regex.sub("", string)
Strips raw ANSI codes from a string.
dataset/ETHPy150Open evennia/evennia/evennia/utils/ansi.py/ANSIParser.strip_raw_codes