i'm trying to find code in IntelliJ with regular expression search , to be able to have AND condition. i read this answer about the matter , but could not make it work i have this expression
^(?=.*platform) (?=.*SpringTestBase).*$
i have tried adding multiline /m
at the end with no luck.
My Search string would be something like this
@MyAnnotation (profile=platform)
class SpringTestBase extends object {
}