📅  最后修改于: 2022-03-11 14:52:18.540000             🧑  作者: Mango
String line = "000 1 This is my message";
Pattern p = Pattern.compile("\\p{L}");
Matcher m = p.matcher(line);
if (m.find()) {
System.out.println(m.start());
}