title: Regex to match text, but not if contained in brackets
body: <p>I could not find any practical way to do this, myself:</p>
  
  <p><strong>APPLE</strong> should be matched</p>
  
  <p><strong>APPLE APPLE</strong> should result in two matches</p>
  
  <p><strong>APPLE (APPLE)</strong> should result in one match</p>
  
  <p><strong>(BANANA APPLE)</strong> should result in no matches</p>
  
  <p><strong>()APPLE()</strong> should result in one match</p>
  
  <p>The brackets can be separated from the wanted string by any length of text over multiple lines. Other brackets not containing the string can exist in any configuration.</p>
  
  <p><strong>EDIT</strong> None of the answers thus far (and thanks for them!) allow for newline characters between the brackets. Is this not a possibility?</p>