개발/JAVA

특수문자 제거

쵸코푸들이장군 2018. 2. 10. 21:47
 public static String StringReplace(String str){      
      String match = "[^\uAC00-\uD7A3xfe0-9a-zA-Z\\s]";
      str =str.replaceAll(match, " ");
      return str;
   }