I have both of the following work.
tr/\005//d; tr/\x05//d;
This will remove control-E from the variable ($_ in this case) but not the 2 character sequence '^' . 'e'
In reply to Re: Regex question: How do I remove an escape code from text?
by dga
in thread Regex question: How do I remove an escape code from text?
by Declarent
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |