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

20428Re: [NTB] Search and replace query.

Expand Messages
  • buralex@gmail.com
    Feb 3, 2008
      John Fitzsimons <johnf@...> said on Feb 03, 2008 19:11
      -0500 (in part):
      > I want to find all lines in a document that contain "a".
      >
      > I want to find all lines in a document that don't contain "a".
      >
      > How do I do this using the find or search and replace options ? I
      > have tried things such as ^.@(a).@$\n and it doesn't work. :-(
      >
      > Using NoteTab Pro 4.95

      not sure what you thought the ampersands (@) would do, but circumflex
      before a character in a character class says:
      any character except it ie. [^a] matches NOT "a"
      so ^[^a]+$ matches ... beginning at char 1 a string of NOT a's through
      the end of line ($)

      Regards ... Alec -- buralex-gmail
      --



      [Non-text portions of this message have been removed]
    • Show all 7 messages in this topic