This is the sample:
YYYY-MM-DD HH:II:SS Message Log
Message Log
Message Log
YYYY-MM-DD HH:II:SS Message Log
I want to get all characters after the timestamp from the first line including all characters of the succeeding line until the blank line?
This is the expected output:
YYYY-MM-DD HH:II:SS Message Log
Message Log
Message Log
I've tried doing something like this:
/^(\d{4}\-\d{2}\-\d{2} \d{2}\:\d{2}\:\d{2}) ([^\n]*)/s
The first group is the timestamp then the second group I am trying to get all characters including all characters of the succeeding line until the blank line