Multiplr serach arguments

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
jcarducci
Posts: 1
Joined: Thu Aug 07, 2008 12:53 am

Multiplr serach arguments

Post by jcarducci »

Simple question, simple method?

How do I find multiple strings in a file with one command? Regular expression? Example?

Example:
Find "Apple", "Orange"

in one or multiple files.

Thanks for the help!

Jerry
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post by ak47wong »

Jerry,

Simple question, simple answer:

If you are using POSIX regular expression syntax (see Configure->Preferences->Editor), search for Apple|Orange

If you are not using POSIX syntax, search for Apple\|Orange

Make sure "Regular expression" is selected in the Find or Find In Files dialog.

Andrew
Post Reply