...
// 表達式對象 Pattern p = Pattern. compile("[\\\\?\\*\\:\\[\\]\\/]"); // 創建 Matcher 對象 Matcher n = p.matcher(systemName); Matcher m = p.matcher(unitCodeName); // 替換 String sheetNameSystem = n.replaceAll( ""); String sheetNameUnit = m.replaceAll( "");
...
// 表達式對象 Pattern p = Pattern. compile("[\\\\?\\*\\:\\[\\]\\/]"); // 創建 Matcher 對象 Matcher n = p.matcher(systemName); Matcher m = p.matcher(unitCodeName); // 替換 String sheetNameSystem = n.replaceAll( ""); String sheetNameUnit = m.replaceAll( "");