I have a log which contain a structure like this :
OPEN [multiline content] START
OPEN [multiline content] START
OPEN [multiline content] START
I need to find the number of this occurence in my log, but sometime for weird reason, the log is like this :
OPEN [multiline content] OPEN [multiline content] START
(OPEN must have a START after, but in this case not).
I have basic regex like this : https://regex101.com/r/URPsTG/1
I want to match the part "OPEN ... START", so when the structure is
OPEN [multiline content] OPEN [multiline content] START
The bold part have to match, and the rest have to be ignored.
How to proceed that ?
Thanks !