, "de la Torre" " " .
2 +, "de" , "" , "Torre" . , 2 Matcher, "Torre" .
, :
"(\\w{2,}(|(\\s\\w{2,})+))"
, +.
, 2 Matcher, , "de la Torre" :
Pattern pattern = Pattern.compile("(\\w{2,}(|(\\s\\w{2,})+))");
Matcher matcher = pattern.matcher("Alvaro de la Torre");
matcher.matches();
System.out.println(matcher.group(2));
" de la Torre".
:
"\\w{2,}((?:\\s\\w{2,})*)"
1, 2. , 0.
, "Alvaro de la Torre" , matcher.find() matcher.matches() matcher.group() ( 0, ). .