narse has asked for the wisdom of the Perl Monks concerning the following question:
This eliminates some of the colors, but somehow some still remain and I am not sure what else to match. Is there a way to see the text without the color codes evaluated by the terminal? What colors does this exclude?$line =~ s/\d;\d\dm//g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Removing ANSI Color Codes
by castaway (Parson) on May 31, 2003 at 06:20 UTC | |
|
Re: Removing ANSI Color Codes
by Aristotle (Chancellor) on May 31, 2003 at 13:33 UTC | |
by castaway (Parson) on May 31, 2003 at 13:39 UTC | |
by theorbtwo (Prior) on May 31, 2003 at 18:26 UTC | |
by Aristotle (Chancellor) on May 31, 2003 at 18:36 UTC |