Skip to content

is it possible to search multiple words? #64

Answered by qcz
AnkurTank asked this question in General
Discussion options

You must be logged in to vote

@AnkurTank

like grep would support searching multiple words as if "foo|bar" , is it possible to do the same with text power tools?

Yeah, you can use the Filter lines matching a regex (grep) command for that.

is it possible to use other options of grep like case-insensitivity and word match etc?

The command mentioned above is case insensitive. You can do word match with the regex \b modifier, for example \b(foo|bar)\b or \bfoo\b|\bbar\b.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AnkurTank
Comment options

Answer selected by qcz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants