title: Search and save the string between two string
body: <p>I want to get the below string from the log file,</p>
  
  <pre><code>Name: OnError
  Computer: 
  Operator: 
  Source Name: 
  Source GUID: 
  Execution GUID: 
  Message: A connection could not be made to the data source with the DataSourceID of 'xyz', Name of 'abc'.
  Start Time: 2016-09-29 05:40:08
  End Time: 2016-09-29 05:40:08
  End Log
  </code></pre>
  
  <p>My keyword to search the string is <code>OnError</code>. From the string <code>OnError</code> to <code>End Log</code> i need to take and have to store in array.</p>
  
  <p>Please give your suggestion for write the above code</p>