title: REGEX help required - breaking up line
body: <p><code>(city  = 'pune' AND country = 'india') OR (division  = 'it') AND (resource  = 'someresource' )</code></p>
  
  <p>I want to break this into groups depending on brackets.</p>
  
  <p>Group 1 - <code>(city  = 'pune' AND country = 'india')</code><br>
  Group 2 - <code>(division  = 'it')</code><br>
  Group 3 - <code>(resource  = 'someresource' )</code></p>
  
  <p>Can somebody please provide the regular expression for the example in Java?</p>