in reply to Re^2: Extracting string from a file
in thread Extracting string from a file

You are absolutely right. And yes I really started from the premise that any string beginning with ~ | TOTAL further contains a set of numbers. It would be better to add a check for the presence of numbers on the right side of expression. Thank you.