Remove colors from messages to match patterns.