摘要: 手机号中间四位,*号代替 string phone = "12345678912"; var newPhone = Regex.Replace(phone, "(\\d{3})\\d{4}(\\d{4})", "$1****$2"); Console.WriteLine(newPhone ); c# 阅读全文
posted @ 2019-07-16 16:30 我是你帅哥 阅读(142) 评论(0) 推荐(0) 编辑