The Ansifilter application was designed to strip ANSI codes or convert them to HTML or RTF, if you want to preserve the formatting information.
Supported control sequences:
· Bold, Underline, Italic, Blink
· Black, Red, Green, Yellow, Blue, Magenta, Cyan, White
· Conceal/Reveal, Image positive/negative