If you open the text file in Excel, you can use some Helper columns to isolate the date, priority and data. Unfortunately, you will probably need to use VBA to extract the data.
First, insert a header row. Then set A1 to E1 to Text, Date, Time, Priority and Priority Text respectively
Then:
B2:
C2:
D2:
E2:
Copy the formulae down to the end of the data.
You can now filter on the priority column for "yes" to see the date, time and priority text.
As for the data in between those rows, it is very, very variable. As I said, I think you will need VBA to collate the message content into a single cell. In principle, it shouldn't be too difficult - you know the rows with message headers and you can use something like ConcatAll to concatenate the data between those row.
Bookmarks