I often need to search a text file for 2 word that would be found on the sam LINE. So both words would have to exist on the same line before Textpad would highlight it.
Anybody got an idea if TEXTPAD can do this?
thanks in advancee
search
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
The HOW-TOs forum is not the the right one in which to ask questions. As it says in one place:
Instructional HowTos, posted by users. No questions here please
and in another:
PLEASE DO NOT POST QUESTIONS HERE
But here is an answer:
If the words are always in the same order:
Instructional HowTos, posted by users. No questions here please
and in another:
PLEASE DO NOT POST QUESTIONS HERE
But here is an answer:
If the words are always in the same order:
If the words can be in either order:Find what: first_word.*second_word
[X] Regular expression
This assumes you are using Posix regular expression syntax:Find what: first_word.*second_word|second_word.*first_word
[X] Regular expression
Configure | Preferences | Editor
[X] Use POSIX regular expression syntax