I’ve always browsed this site for PHP and Perl articles, but never needed to post before. anyway.
I’ve got a file that contains Intro text, a table with whitespace used to separate the columns, and a summary paragraph. The only parts of the file I care about are accessing three of the columns.
I need to access the AGC, TWC, and DWC fields below, and create a new file with only the values from those columns. I’m having difficulty figuring out how to open the file, and skip the paragraphs surrounding the data. Can anyone help me out? here’s the data file
04-22-09-NO42009
blank text
20 33.0 234 11 222
23 32.3 342 2 223
43 31.0 234 2 224
59 31.4 432 4 225
68 30.0 564 5 226
70 29.2 544 7 227
Summary
04-23-09-NO42009
blank text
22 39.0 233 7 233
24 38.3 343 8 234
45 37.0 231 8 235
54 37.4 432 5 236
66 36.0 569 5 237
74 35.2 544 4 238
Summary