I seem to be having issues. I have a query string that has values that can contain single quotes. This will break the query string. So I was trying to do a replace to change
Remember that stringToEdit.replaceAll(String, String)returns the result string. It doesn't modify stringToEdit because Strings are immutable in Java. To get any change to stick, you should use