I am getting org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x12) was found in the element content of the document. error on the client side. Can someone tell what is the regular expression using java.util.regex.Pattern to replace such characters so that I can exclude in the server side.
tried..
Pattern PATTERN = Pattern.compile("\0012");
but didn't work