title: Multiple line search in a file using java or unix command
body: <p>I want to find the following pattern in a file like </p>
  
  <pre><code>subclass "Pool1" 11:22:33:44:55:66    {
  
        dynamic;
  
  }
  </code></pre>
  
  <p>the above pattern I have to find in a file.</p>
  
  <p>How can I find either using java or Unix command?</p>