/**去掉字符串中的换行空格回车*/
public static String replace(String str) {
String destination = "";
if (str!=null) {
Pattern p = Pattern.compile("\\s*|\t|\r|\n");
Matcher m = p.matcher(str);
destination = m.replaceAll("");
}
return destination;
}