Page 1 of 1

can texpad use the logical operator AND

Posted: Sat Feb 18, 2012 7:30 am
by happy hopping
for eg. say I want to search for a line of text that contains

dog AND cat

can textpad do that?

Posted: Sat Feb 18, 2012 7:57 am
by ak47wong
To search for "dog" followed by "cat":

Find what: dog.*cat

To search for "dog" and "cat" on the same line regardless of order:
First enable POSIX regular expression syntax in Configure > Preferences > Editor, then:

Find what: dog.*cat|cat.*dog

Posted: Sun Feb 19, 2012 7:01 am
by happy hopping
thanks for helping out