.matches("\\d{6,}
时间: 2023-09-29 22:10:32 浏览: 62
matching_匹配_
5星 · 资源好评率100%
This regular expression matches any string that contains six or more consecutive digits. The backslash (\) is used to escape the d character, which represents a digit. The curly braces ({}) are used to specify the exact number of digits to match, in this case six or more. The comma (,) indicates that the number can be repeated any number of times.
阅读全文