Loading ...
Sorry, an error occurred while loading the content.

6141Re: [NTO] How to delete all lines that do not contain a Z using a one-line regex?

Expand Messages
  • hsavage
    Dec 30, 2004
    • 0 Attachment
      Roy Herring wrote:
      > How to delete all lines that do not contain a Z using a one-line regex?
      >
      > This doesn't work: ^!REPLACE "^[^z]$" >> "" rwsati
      >
      > Thanks,
      > Roy

      Roy,

      This works for me, the only difference is I'm not using quotes on the
      left side.

      It deletes lines without a 'z' in them and doesn't skip lines.

      ^!Replace ^[^z]+$ >> "" TIWRSA

      ºvº
      04.12.30
      hrs > hsavage@...
    • Show all 2 messages in this topic