java正则表达式多个字符串替换怎样实现?

2025-02-18 08:04:08
推荐回答(1个)
回答1:

str.replaceAll("[A-Z]+\\d{3}", "hello").replaceAll("[^A-Za-z]", "==");