Java ersetzen String Case unempfindlich

String target = "FOOBar";
target = target.replaceAll("(?i)foo", "");
System.out.println(target);
serhii.nahornyi