Need to copy lines from one text to another based on a key item
<p>I am trying to copy lines from one text file to another which contains a key item in it (For example: "2011"). The following are the lines that are present in my source text.</p>

<blockquote>
  <p>PensonReport: 1/11/2010 11:14:21 AM, Index and length must refer to a location within the string.
  Parameter name: length, Sub ProcessDateHeader_BeforePrint, ReportRequestID: 24614361, DALBATCHDEV01</p>
  
  <p>ReportRequest: 8/16/2011 10:02:26 AM, Procedure or function 'prcEXT602' expects parameter '@CorrespondentOfficeID', which was not supplied., Sub ExecuteStoredProc, ReportRequestID: 49474706, DALBATCHDEV01</p>
</blockquote>

<p>The problem with my code is that it is not able to identify the EOL and is printing the whole of it.
Note: each new line starts from string ReportRequest.
How do I do this?</p>
