c# 手机号码正则表达式
string mobile = "132008888888";
Match m = Regex.Match(mobile, "(13|15)\\d{9}");
while (m.Success)
{
//其他操作
m = m.NextMatch();
}
Match m = Regex.Match(mobile, "(13|15)\\d{9}");
while (m.Success)
{
//其他操作
m = m.NextMatch();
}
浙公网安备 33010602011771号