String.replaceAll without RegEx
<p>I'd like to replace all instances of a substring in a string but <code>String.replaceAll()</code> only accepts a pattern. The string that I have came from a previous match. Is it possible to add escapes to the pattern that I have or is there a version of <code>replaceAll()</code> in another class which accepts a literal string instead of a pattern?</p>
