in reply to Regex question: How do I remove an escape code from text?
$ echo 'text^E^E^E^E' |perl -ne 's/\x05//g;print;'|od -c 0000000 t e x t \n 0000005
CU
Robartes-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Regex question: How do I remove an escape code from text?
by Declarent (Sexton) on Mar 20, 2003 at 17:25 UTC | |
by dga (Hermit) on Mar 20, 2003 at 17:33 UTC |