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

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

Expand Messages
  • hsavage
    ... 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.
    Message 1 of 2 , 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@...
    Your message has been successfully submitted and would be delivered to recipients shortly.