title: How to use replaceAll() method in StringBuffer?
body: <p>I need to replace multiple words in a string buffer. So I am looking for a <code>replaceAll</code> method in <code>StringBuffer</code>.</p>
  
  <p>So do we have it in <code>StringBuffer</code>?</p>
  
  <p>String method:</p>
  
  <pre><code>str2 = str1.replaceAll(regex, substr);
  // (This is String method, I need like this in StringBuffer)
  </code></pre>