```java
public static boolean isPhoneNumber(String phoneNumber) {
String regex = "^((13[0-9])|(14[5,7,9])|(15([0-3]|[5-9]))|(17[0,1,3,5,6,7,8])|(18[0-9])|(19[8|9]))\\d{8}$";
if (phoneNumber.length() != 11) {
return false;
} else {
Pattern p = Pattern.compile(regex);
...
<未完>点击进入
- 内容创作
AI正在思考,请稍等...
- 问题越精准、内容越详细,请勿提交相同标题!
-
-
-
-
-
-
-
-
-
-
NetEase Inc. is a Chinese internet technology company based in Beijing, China. Founded in 1997, the company provides online services centered on content, community, communications and commerce. Their online services include news, music, e-mail, e-commerce and gaming among others. NetEase also operat...<未完>点击进入