正则表达式专项练习
摘要:
//匹配所有非英文字符String input = "$bo*y gi!r#l"; String mode = "[^a-zA-Z]";//注意亦或的符号在中括号里面 Pattern pattern = Pattern.compile(mode); String newStr = pattern.m 阅读全文
posted @ 2021-12-29 14:36 MaXianZhe 阅读(211) 评论(0) 推荐(0)
浙公网安备 33010602011771号