regexMobileExact constant
String
const regexMobileExact
Regex of exact mobile.
china mobile: 134(0-8), 135, 136, 137, 138, 139, 147, 150, 151, 152, 157, 158, 159, 165, 172, 178, 182, 183, 184, 187, 188, 195, 198
china unicom: 130, 131, 132, 145, 155, 156, 166, 167, 171, 175, 176, 185, 186
china telecom: 133, 153, 162, 173, 177, 180, 181, 189, 199, 191
global star: 1349
virtual operator: 170
Implementation
static const String regexMobileExact =
'^((13[0-9])|(14[57])|(15[0-35-9])|(16[2567])|(17[01235-8])|(18[0-9])|(19[1589]))\\d{8}\$';