C#使用正则隐藏手机号中间四位

Regex.Replace(手机号, "(\\d{3})\\d{4}(\\d{4})", "$1****$2");

猜你喜欢

转载自blog.csdn.net/qq_38225873/article/details/83927039