帮大家整理一些手机号的数据验证方法,可以直接复制使用,做数据验证。
注意替换{当前数据.手机号} 与 {临时变量}
可复制代码块中国移动:
['134','135','136','137','138','139','144','147','148','150','151','152','157','158','159','165','1703','1705','1706','172','178','182','183','184','187','188','195','197','198','1440','1703','1705','1706']
中国联通:
['130','131','132','140','145','146','155','156','166','167','175','176','185','186','196','1704','1707','1708','1709','1710','1711','1712','1713','1714','1715','1716','1717','1718','1719']
中国电信:
['133','141','149','153','162','1700','1701','1702','173','1740','177','180','181','189','190','191','193','199','1349']
中国广电1个手机号段:
['192']
手机号位数合法:
LEN({当前数据.手机号}) = 11
手机号左三位合法:
OR(IN(LEFT({当前数据.手机号}, 3), {临时变量.中国移动}), IN(LEFT({当前数据.手机号}, 3), {临时变量.中国联通}), IN(LEFT({当前数据.手机号}, 3), {临时变量.中国电信}), IN(LEFT({当前数据.手机号}, 3), {临时变量.中国广电1个手机号段}))
手机号左四位合法:
OR(IN(LEFT({当前数据.手机号}, 4), {临时变量.中国移动}), IN(LEFT({当前数据.手机号}, 4), {临时变量.中国联通}), IN(LEFT({当前数据.手机号}, 4), {临时变量.中国电信})
纯数字验证结果:
AND(VALUE({当前数据.手机号}) != 0, LEN({当前数据.手机号}) = LEN(TEXT(VALUE({当前数据.手机号}))), NOT(LIKE({当前数据.手机号}
|