>>335
System.out.println("test".replaceAll("test", "\\\\\\\\"));
では何か不満なのか?