Could you provide your input and desired output in the <code> tags?
Right now, I'm unsure why you wrote that time, data1 and data2 are significant, but there is no time in your output.
As moritz suggested, Text::CSV is probably your best friend here.
Regards,
Luke
In reply to Re: Reading and Separating Data From a File Using Regex
by 1Nf3
in thread Reading and Separating Data From a File Using Regex
by peeeerld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |