Extract table from text file (regex in multi lines)

I want to extract a table containing only names, surnames and emails from a text file, which are written in exactly the same way in consecutive lines, and the rest of the lines remain in a separate table. how can I use string manipulation node with regex within multi lines and check row ids difference.

data.txt

(645 Bytes)

data:

table1:

table2: