📜  正则表达式按大写字母分割 - 无论代码示例

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

代码示例1
String s = "ThisIsMyString";
String[] r = s.split("(?<=.)(?=\\p{Lu})");
System.out.println(Arrays.toString(r));