title: Delete between ")" and string
body: <p>I want to delete the text between a bracket and a string, but i keep getting this error: <code>sre_constants.error: unbalanced parenthesis at position 8</code></p>
  
  <pre><code>import re
  
  s = 'TEXT1 ) something something TEXT2'
  test= re.sub(r'(?&lt;=^)\b).*(?=\bTEXT2)',' ',s)
  print(test)
  </code></pre>
  
  <p>I want to keep the identifiers so my output looks like this:</p>
  
  <pre><code>"TEXT1 ) TEXT2"
  </code></pre>