I would like to find all occurrences of the below pattern.
import com.pack1.pack2.blah1.className1 ;
import com.pack1.pack2.blah2.className2 ;
import com.pack1.DifferentPackage.blah3.className3 ;
I want to find all import statements which will match the third line.
Something like below
import com.pack1.!(pack2).*
I tried a few examples from tutorials - but couldn't achieve the objective.