wrote in news:1148773195.171205.166250@
38g2000cwa.googlegroups.com:
> I would like to hand the replaceAll() method of String text that it
> would interpret as literal text and not as a regex.
What you probably want to use is actually String.replace(). The name is
unfortunate - it replaces more than one occurence, even if it is easy to
believe otherwise by just seeing the name (together with replaceAll()). see
the API for more info.
http://java.sun.com/j2se/1.5.0/docs/...g.html#replace
(char,%20char)
--
Martin Gerner