I'm writing a webpage where you can upload text files and then do some analysis on the file.
the text file is formatted like this:
- 0 1 475
- 1 2 437
- 2 3 553
- 3 4 500
- 4 5 612
- 5 6 491
- 6 7 444
- 7 8 544
- 8 9 491
- 9 10 595
'*' is only used to make a list on stack-overflow not actually in the text file
I only need to extract the third column(three digits) and place the values in a variable that I can later use for my analysis.
How can I do this? I can't seem to find an answer with the javascript.
thanks