How could I strip them from a string knowing that
they always start with the ESC character (octal code 033),
ends with a letter (upper or lower case), and that an
undefined number of digits, commas and space are in the
middle ?
Off the top of my head... s/\033[0-9, ]*[a-zA-Z]//g
NOTE: That won't accutally replace the two examples
you gave however, because your examples contain "["
which wasn't in your description.
Comment on Re: how to strip VT100 escape sequences?