def strip_irc(string):
 return IRC_COLOR_RE.sub('', string)

def strip_irc ( string ) : return IRC_COLOR_RE . sub ( '' , string )
removes all raw mirc formatting codes from the input string and returns it .