我想用replaceAll("[\\r\\n]",",")把空白方框乱码替换掉,匹配不到这个字符,怎么匹配到这个字符?
java.util.regex.Pattern INVALID_XML_CHARS = Pattern.compile("[^\\u0009\\u000A\\u000D\\u0020-\\uD7FF\\uE000-\\uFFFD\uD800\uDC00-\uDBFF\uDFFF]");
x_contact_method = INVALID_XML_CHARS.matcher(x_contact_method).replaceAll(" ");