I want to use a regular expression while processing this file and store lines such as 1 *32:56 *35:5 40.6 into one variable and store lines such as 3 *1:10 4 into another variable.
How can I do this?
I am trying to use if (/(\d+)(\*.*?:.*?)\s(\d+\.\d+)/) to capture only those lines that look like 3 *1:10 4 but it does not seem to work as I expected? Any help please.
Buthuleji