I want to read this file skiping some lines & start from d 1st "RULE EXECUTING" & end be4 "end of test"
<p>I want to read this file, skipping some lines, starting from the first "RULE EXECUTING" and ending before the statement "===end of test===", then skip again and start from the next "RULE EXECUTING" to the end of the log. The log sections are different lengths. I will really appreciate any direction/sample code.</p>

<p>Sample log file:</p>

<pre><code>2013-02-14 09:26:11:359 [main] DEBUG test.hcsc.premier.rules.rulesets.RulesetTestSuite  - Thu Feb 14 09:26:11 CST 2013================START OF TEST RN_1014557757 DCN: 0201107579039750C==================================================
2013-02-14 09:26:16:734 [main] DEBUG com.hcsc.premier.rules.rulesEngine.RulesetInvoker  - RulesetInvoker:  Before invoking: DRVR
2013-02-14 09:26:16:750 [main] DEBUG com.hcsc.premier.rules.rulesEngine.RulesEngineWrapper  - RULE EXECUTING --&gt; DRVR.Pre_Process.Service_Level_Pricing
2013-02-14 09:26:16:750 [main] DEBUG com.hcsc.premier.rules.rulesEngine.RulesEngineWrapper  
RULE EXECUTING --&gt; CMNETSLO.Return_Classification.Business_Error
2013-02-14 09:26:50:890 [main] DEBUG com.hcsc.premier.rules.rulesEngine.RulesetInvoker  - RulesetInvoker:  After invoking: CMNETSLO
2013-02-14 09:26:50:890 [main] DEBUG com.hcsc.premier.rules.rulesEngine.RulesEngineWrapper  
==================END OF TEST RN_1015211870 DCN: 0201122357T23920X======================

2013-02-14 09:26:51:937 [main] DEBUG test.hcsc.premier.rules.rulesets.RulesetTestSuite  - Thu Feb 14 09:26:51 CST 2013
================START OF TEST RN_1015298901 DCN:020112295714T500X==============
RULE EXECUTING --&gt; DRVR.Pre_Process.Service_Level_Pricing
2013-02-14 09:26:52:062 [main] DEBUG com.hcsc.premier.rules.rulesEngine.RulesEngineWrapper  - RULE EXECUTING --&gt; DRVR.Pre_Process.Claim_Pre_Process
2013-02-14 09:26:52:062 [main] DEBUG com.hcsc.premier.rules.rulesEngine.RulesetInvoker  - RulesetInvoker:  Before invoking: DRVRCLPRE

==================END OF TEST RN_1015211870 DCN: 0201122357T23920X======================
</code></pre>
