一品网
  • 首页

Java手机号校验


    public static boolean verifyPhone(String phone) {
        String regex = "^[1]([3-9])[0-9]{9}$";
        boolean isMatch = false;
        if (StringUtils.isEmpty(phone)) {
            System.out.println("手机号不能为空");
        } else if (phone.length() != 11) {
            System.out.println("手机号应为11位数");
        } else {
            isMatch = Pattern.matches(regex, phone);
        }
        return isMatch;
    }
Java问题点及解决方法QA

相关


QAC报告中的STCYC

appium运行报错.<init>(Lorg/openqa/selenium/remote/ErrorCodes;Z)V

Qt QAxObject 批量写入 Excel

laravel7 jqAjax下拉框搜索

QT QApplication干了啥?

文档问答(document QA)

mac下QtCreator控制台程序运行时报错:QWidget:cannot create a QWidget without qappli

SAP QM 事务代码QA11里的to New Material

5.分析内核中断运行过程,以及中断3大结构体:irq_desc、irq_chip、irqaction(详解)

图像质量评价(IQA)

Java selenium错误——org.openqa.selenium.WebDriverException: unknown error: cann

图像质量评价(Image Quality Assessment,IQA)

标签

一品网 冀ICP备14022925号-6