title: Parsing text file using C#
body: <p>Looking for a good way to parse out of this text file, the values highlighted with the yellow boxes using C#. Each section is delineated by a TERM # which I forgot to highlight. Tried this:</p>
  
  <pre><code>string fileName = "ATMTerminalTotals.txt";
  StreamReader sr = new StreamReader(fileName);
  string[] delimiter = new string[] { " " };
  while (!sr.EndOfStream)
  {
       string[] lines = sr.ReadLine().Split(delimiter, StringSplitOptions.RemoveEmptyEntries);
       foreach (string line in lines)
       {
           Console.WriteLine(line);
       }
  }
  Console.ReadLine();
  </code></pre>
  
  <p>Safe to say I am reading lines correctly and removing "white spaces." Although, as an amateur to programming, not sure of a valid way to accurately "know" that I am getting the values from this report that I need. Any advice?</p>