转自:https://blog.csdn.net/sswh5123/article/details/78029839
-
String date = "2017-09-19 14:40:01";
-
String response = date.replaceAll("[[\\s-:punct:]]","");
转自:https://blog.csdn.net/sswh5123/article/details/78029839
String date = "2017-09-19 14:40:01";
String response = date.replaceAll("[[\\s-:punct:]]","");