How to hide all import and packages statements in the results of "Find In Files" (previously "Find in Path") action?
As others pointed in above comments, using Regex seems to be the only viable solution for this scenario.
I used: ^(?!import|package).*wordToSearch