Android判斷是否是手機號
public static boolean isMobileNo(String mobileNo) {
Pattern mobilePattern = Pattern.compile("^((13[0-9])|(14[5,7])|(15[0-3,5-8])|(17[0,3,5-8])|(18[0-9])|(147))\\d{8}$");
return mobilePattern.matcher(mobileNo).matches();
}