Here you can find the source of isMobileNO(String phoneNum)
public static boolean isMobileNO(String phoneNum)
//package com.java2s; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { public static boolean isMobileNO(String phoneNum) { final String regx = "^((13[0-9])|(15[^4,\\D])|(18[0-9]))\\d{8}$"; Pattern p = Pattern.compile(regx); Matcher m = p.matcher(phoneNum); return m.matches(); }/* w w w .j a va 2 s . com*/ }