title: How to remove all lines in a text before a line contains certain words
body: <p>I have a large HTML String which contains some lines before the actual HTML code which are empty HTML and are not actually needed.</p>
  
  <p>messageContent will contain something like:</p>
  
  <pre><code>        &lt;td width="35"&gt;&lt;br /&gt; &lt;/td&gt; 
          &lt;td width="1"&gt;&lt;br /&gt; &lt;/td&gt; 
          &lt;td width="18"&gt;&lt;br /&gt; &lt;/td&gt; 
          &lt;td width="101"&gt;&lt;br /&gt; &lt;/td&gt; 
          &lt;td width="7"&gt;&lt;br /&gt; &lt;/td&gt; 
          &lt;td rowspan="21" colspan="16" width="689"&gt;Geachte&amp;nbsp;heer/mevrouw,&lt;br /&gt; &amp;nbsp;&lt;br /&gt; Wij&amp;nbsp;hebben&amp;nbsp;uw&amp;nbsp;inzending&amp;nbsp;ontvangen&amp;nbsp;en&amp;nbsp;gecontroleerd.&amp;nbsp;Hierbij&amp;nbsp;het&amp;nbsp;verslag&amp;nbsp;van&amp;nbsp;de&amp;nbsp;controle.&lt;br /&gt; &amp;nbsp;&lt;br /&gt;
  </code></pre>
  
  <p>I want to remove/replace everything before the line which contains 'Geachte', ' heer'  and ' mevrouw'.</p>
  
  <p>As output I would like to keep only:</p>
  
  <pre><code>        &lt;td rowspan="21" colspan="16" width="689"&gt;Geachte&amp;nbsp;heer/mevrouw,&lt;br /&gt; &amp;nbsp;&lt;br /&gt; Wij&amp;nbsp;hebben&amp;nbsp;uw&amp;nbsp;inzending&amp;nbsp;ontvangen&amp;nbsp;en&amp;nbsp;gecontroleerd.&amp;nbsp;Hierbij&amp;nbsp;het&amp;nbsp;verslag&amp;nbsp;van&amp;nbsp;de&amp;nbsp;controle.&lt;br /&gt; &amp;nbsp;&lt;br /&gt;
  </code></pre>
  
  <p>I thought I would use a BufferedReader to loop trough the text line by line:</p>
  
  <pre><code>try {
              reader = new BufferedReader(
                      new StringReader(messageContent));
          } catch (Exception failed) { }
  
  
          try {
              while ((string = reader.readLine()) != null) {
  
                  if ((string.length() &gt; 0) &amp;&amp; (string.contains("Geachte"))) {
                      //remove all lines before this string
                  }
              }
          } catch (IOException e) { }
  </code></pre>
  
  <p>How do I achieve this? </p>