title: php: remove brackets/contents from a string?
body: <p>If I have a string like this:</p>
  
  <pre><code>$str = "blah blah blah (a) (b) blah blah blah";
  </code></pre>
  
  <p>How can I regex so that the output is:</p>
  
  <pre><code>$str = "blah blah blah blah blah blah";
  </code></pre>
  
  <p>It needs to be able to support any number of bracket pairs inside a string.</p>