📜  java替换字符串不区分大小写-Java代码示例

📅  最后修改于: 2022-03-11 14:52:17.615000             🧑  作者: Mango

代码示例1
String target = "FOOBar";
target = target.replaceAll("(?i)foo", "");
System.out.println(target);