in reply to Regex question: How do I remove an escape code from text?

You opened it in vim? Position the cursor under the '^e' and type "ga" (or ":as[cii]", if that's easier to remember). In the command line you will see the ascii value of the character.
  • Comment on Re: Regex question: How do I remove an escape code from text?

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 18:40 UTC

    I opened it in vim, hit ga and guess what? It's a 0x00. Removed it via /\x00/ and now I'm 5x5.

    As usual, you Monks rock!

    D