Find - except for...
Posted: Wed May 01, 2002 4:12 pm
Is there a way to use TextPad to find all files (using "Find in Files") to do a text search for a text string, unless the line that contains that text string contains a different specific string.
For example, lets say you have two files you wish to search. One file contains a line of text "The big BROWN wolf jumps tall fences" and the other file contains a line of text "The big GRAY wolf jumps tall fences".
What I want to do is find all files that contain the line of text "wolf jumps tall fences" with the exception that the file not contain that line of text with the word "GRAY". (ie "wolf jumps tall fences" but not GRAY)
Is there a regular expression that would search all occurences with excpetions?
Thanks...
For example, lets say you have two files you wish to search. One file contains a line of text "The big BROWN wolf jumps tall fences" and the other file contains a line of text "The big GRAY wolf jumps tall fences".
What I want to do is find all files that contain the line of text "wolf jumps tall fences" with the exception that the file not contain that line of text with the word "GRAY". (ie "wolf jumps tall fences" but not GRAY)
Is there a regular expression that would search all occurences with excpetions?
Thanks...