title: Extracting ticker symbols from file
body: <p>The following three lines are an extract from a large text file:</p>
  
  <pre><code>9       40        0.5752        2        0.0000        *BRK.B:23.42:24.08:-2.82%        PFE:28.05:26.94:3.97%
  9       40        0.5752        2        0.0000        *NOV:23.42:24.08:-2.82%
  3       50        0.5752        7        0.0000        C:23.42:24.08:-2.82%             *AAPL:28.05:26.94:3.97%%       *MMM:28.05:26.94:3.97%  
  </code></pre>
  
  <p>I wish to extract just the ticker symbols into a single column so I get:</p>
  
  <pre><code>BRK.B
  PFE
  C
  AAPL
  MMM
  NOV
  </code></pre>
  
  <p>I have tried using a combination of sed and awk but can't seem to allow for optional tickers on the same row.</p>