How to exclude a specific word when searching

Answered

Is there a way to exclude a specific word when searching?

I want to search a word "foo" but without "foo_bar" in my project.

I tried with "foo -foo_bar", but it didn't work as I expected.

 

Thanks.

1 comment

Hello,

you can use a regex for that.

0

Please sign in to leave a comment.