title: How can I parse this txt file by omitting certain undesired elements?
body: <p>I am currently an intern working a company. I was asked to parse some log file and include only useful details. </p>
  
  <p>The file I have is something similar to:</p>
  
  <p>--Just an example file with zero relation to the business--</p>
  
  <pre><code>#Saturday Logs
  
  #Item                  #NumberofItems   #Price
  Glue                   2 bottles        $1.99
  Pencil &amp; Eraser pack   1                $2.45
  Sharpener (M)          2                $3.99
  -Omit-
  Markers                2 packs          $4.44 -sale
  </code></pre>
  
  <p>What I want to output will look like this:</p>
  
  <pre><code>Glue                   2 bottles        $1.99
  Pencil &amp; Eraser pack   1                $2.45
  Sharpener (M)          2                $3.99
  Markers                2 packs          $4.44 
  </code></pre>
  
  <p>However the only code I have written so far is:</p>
  
  <pre><code>lines = file_input.readlines()
  
  for line in lines:
      word = line.split()
  </code></pre>
  
  <p>I want to try and split apart the strings inside my word array to get rid of -omit-and -sale and the first couple lines of the file but I am stuck and have extremely limited experience in this matter. Any help is appreciated.</p>