Remove ANSI escape codes from text.
text
String stripAnsi(String text) { return text.replaceAll(_ansiRegex, ''); }