I need to find data in a file and print it out in a neat fashion. I believe I can use regex to do this but I am unsure of exactly how. I need it to parse data in this format:
example.txt
"unimportant1" "unimportant2" "unimportant3" "time" "data1" "data2"
I would like it to print out the data1 and data2 such as:
Data1: data1 Data2: data2
I appreciate your help!
Thank you.