20428Re: [NTB] Search and replace query.
- Feb 3, 2008John Fitzsimons <johnf@...> said on Feb 03, 2008 19:11
-0500 (in part):
> I want to find all lines in a document that contain "a".not sure what you thought the ampersands (@) would do, but circumflex
> 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
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]
- << Previous post in topic Next post in topic >>