title: How to remove parentheses from string
body: <p>This:</p>
  
  <pre><code>document = re.sub(r"(\)", " ", document)
  </code></pre>
  
  <p>or this:</p>
  
  <pre><code>document = re.sub(r"()", " ", document)
  </code></pre>
  
  <p>do not work for me.</p>
  
  <p>So how can I simply remove the parentheses from a text.</p>
  
  <p>For example this:</p>
  
  <pre><code>document = "(Hello World)"
  </code></pre>
  
  <p>to become this:</p>
  
  <pre><code>document = "Hello World"
  </code></pre>