title: parse text using grep regex pull out text from multiple lines of text in a file
body: <p>I have a chunck of text in a file:</p>
  
  <pre><code>&lt;tr bgcolor="#F9F9F9"&gt;
       &lt;td align="left"&gt;8/7/2012 11:23:42 AM&lt;/td&gt;
       &lt;td align="left"&gt;&lt;em&gt;Here is the text I want to parse out&lt;/em&gt;&lt;/td&gt;
       &lt;td class="ra"&gt;9.00&lt;/td&gt;
       &lt;td class="ra"&gt;297.00&lt;/td&gt;
       &lt;td class="ra"&gt;0.00&lt;/td&gt;
       &lt;td class="ra"&gt;0.00&lt;/td&gt;
       &lt;td class="ra"&gt;$0.00&lt;/td&gt;
       &lt;td class="ra"&gt;$0.50&lt;/td&gt;
       &lt;td class="ra"&gt;&lt;/td&gt;
   &lt;/tr&gt;
  </code></pre>
  
  <p>using grep I would like to end up with the result being</p>
  
  <p><strong>Here is the text I want to parse out</strong></p>
  
  <p>Working on the code now I have </p>
  
  <pre><code>cat file.txt | grep -m 1 -oP '&lt;em&gt;[^&lt;/em&gt;]*'
  </code></pre>
  
  <p>but that does not work... thanks for your help!</p>