Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java replace string case insensitive

String target = "FOOBar";
target = target.replaceAll("(?i)foo", "");
System.out.println(target);
 
PREVIOUS NEXT
Tagged: #java #replace #string #case #insensitive
ADD COMMENT
Topic
Name
2+4 =