First of all, Strings are immutable, so the String referenced by str is not changed. replaceAll returns a new String.
Secondly, '\' is a special character in both regex and
Java strings, so you need to escape the '\'s as well.
Try
[ March 26, 2007: Message edited by: Joanne Neal ]