Text file - split to columns

Hello,

I have a text file (see attachment) and need to get this into a table. The issue I am having is that the data is not consistent across the file.

Each row starts with MAS. So, in the example, the final output should have only 3 rows.

What would be the best approach to do this?

Thank you much.

Example.txt

(441 Bytes)