You can read the text using a StreamReader in an automation. You can add that to your automation using the Add Constructor for Type on the toolbar.
After clicking the button on the toolbar, click on an open spot on the automation. Select System.IO.StreamReader and the following will pop up.
You will need to set it up in Pega Robotics the same way as you would in code choosing the Constructor that takes a FilePath. Here is a simple automation that will read the entire file. You will need to add some steps at the end to parse the text. Notice this uses an infinite ForLoop and the Peek method of the StreamReader to determine when to exit.
So now you are reading the file and all that is left is to use Regex and some logic to parse the text. Not knowing your intent I can't show you that here. Most likely you will have to write a small script to process the regex if you want to return multiple groups from a line.