title: Qt remove regular expression from string
body: <p>I have a QString that I have replaced "=" and"," with " ". Now I would like to write a regular expression that would remove every occurrence of a certain string followed immediately by parenthesis containing a 1 to 2 character long number. 
  For Example: "mat(1) = 5, mat(2) = 4, mat(3) = 8" would become "5 4 8"</p>
  
  <p>So this is what I have so far:</p>
  
  <pre><code>text = text.replace("=", " "); 
  text = text.replace(",", " "); 
  text = text.remove( QRegExp( "mat\([0-9]{1,2}\)" ) );
  </code></pre>
  
  <p>The regular expression is not correct, how can I fix it to do what i want? Thanks!</p>