我想用另一个表达式来替换文本中所有不敏感短语的出现,其中包含建立的短语。例如: String searchQuery = "word";
String source = "I want find WORD case insensitive, and change fonts of this word";
System.out.println(source.replaceAll("(?i)"
我想的字符串分割成以下 S <- "No. Ok (whatever). If you must. Please try to be careful (shakes head)."
[1] No.
[2] Ok (whatever). If you must.
[3] Please try to be careful (shakes head).
的图案是各(...)之前第一.。 我熟