title: Java replaceAll function of string does not replace
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5179449/wrong-output-using-replaceall">Wrong output using replaceall</a>  </p>
  </blockquote>
  
  
  
  <p>If I have string:</p>
  
  <pre><code>String test = "replace()thisquotes";
  
  test = test.replaceAll("()", "");
  </code></pre>
  
  <p>the test result is still: <code>test = "replace()thisquotes"</code></p>
  
  <p>so () is not replaced.</p>
  
  <p>Any ideas?</p>