I notice the first parameter of replaceAll method is a regex which means it's more complexed than what we need to do a simply String replacement. I've tried your way after you told me, but it doesn't work.