java正則表達式替換空格和換行符

public static String getStringNoBlank(String str) { if(str!=null && !"".equals(str)) { Pattern p = Pattern.compile("\\s*|\t|\r|\n"); Matcher m = p.matcher(s
相關文章
相關標籤/搜索