I have multiple-line log output in the Android Studio to check. I am trying to exclude all lines containing the keyword ABC using (?!(^.*ABC.*$)). The
ABC
(?!(^.*ABC.*$))