title: Best way to extract specific paragraph from file data
body: <p>Hi i am looking to find out the best way to extract specific paragraph from file using java.</p>
  
  <p>From the following data i need to extract data from  <b> "D &amp; A" </b> to <b> Testing1- End </b> and from 2nd para 
  <b> "D &amp; A" </b> to <b> Testing2- End </b></p>
  
  <p>Please guid me best way to get this values. Thanks<br>
  //File Data (Eg : )
  <pre>
  Testingdata Testingdata Testingdata Testingdata Testingdata Testingdata Testingdata Testingdata
  Testingdata Testingdata Testingdata Testingdata Testingdata Testingdata Testingdata Testingdata
  Testingdata Testingdata Testingdata</p>
  
  <p>D and A
  Testing1 Testing1 Testing1 Testing1 Testing1 Testing1 Testing1 Testing1 Testing1 Testing1 
  Testing1 Testing1 Testing1 Testing1 Testing1 Testing1 Testing1 Testing1 Testing1 Testing1 
  Testing1Testing1 Testing1 Testing1 Testing1 Testing1 Testing1 Testing1- End  </p>
  
  <pre><code>                                                Date 11/30/11           Page    2
  </code></pre>
  
  <p>D and A
  Testing2  Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2
   Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2
   Testing2 Testing2 Testing2
                                                      Date 11/30/11           Page    3
  D and A
  Testing2  Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2
   Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2 Testing2
   Testing2 Testing2 Testing2 -End
  </pre></p>