title: String.replaceAll() is not working for some strings
body: <p>I am editing some email that got from tesseract ocr. </p>
  
  <p><strong>Here is my code:</strong></p>
  
  <pre><code> if (email != null) {
          email = email.replaceAll(" ", "");
          email = email.replaceAll("caneer", "career");
          email = email.replaceAll("canaer", "career");
          email = email.replaceAll("canear", "career");
          email = email.replaceAll("caraer", "career");
          email = email.replaceAll("carear", "career");
          email = email.replace("|", "l");
          email = email.replaceAll("}", "j");
          email = email.replaceAll("j3b", "job");
          email = email.replaceAll("gmaii.com", "gmail.com");
          email = email.replaceAll("hotmaii.com", "hotmail.com");
          email = email.replaceAll(".c0m", ".com");
          email = email.replaceAll(".coin", ".com");
          email = email.replaceAll("consuit", "consult");
      }
      return email;
  </code></pre>
  
  <p>But the output is not correct. </p>
  
  <p><strong>Input :</strong> </p>
  
  <pre><code>amrut=ac.hrworks@g mai|.com
  </code></pre>
  
  <p><strong>Output :</strong> </p>
  
  <pre><code>lalcl.lhlrlwlolrlklsl@lglmlalil|l.lclolml
  </code></pre>
  
  <p>But when I assigned the result to a new String after every replacement, it works fine. Why continuous assignment in the same String is not working?</p>