title: sed: remove parentheses from string
body: <p>I am using a Mac.</p>
  
  <p>I'm trying to remove all parentheses, ( and ), from a string using sed.</p>
  
  <p>Input: <code>this string contains (parentheses)</code></p>
  
  <p>Desired output:   <code>this string contains parentheses</code></p>
  
  <p>I've tried:</p>
  
  <p><code>sed -E 's/[\)\(]//g'</code></p>
  
  <p>but whether I escape the parentheses or not, I still only get a match (and consequently removal) for the first one.</p>
  
  <p>EDIT: the problem was with the input string:</p>
  
  <p>A close paren is ASCII 41, whereas my input has ASCII 239 which explains what's failing. Even more confusingly this equates to an acute accent. Closer examination shows that the ) can't be selected without the following 'space'.</p>