正则小问题 替换手机号码的中间四位为星号 便如13800000000变成138****0000 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 string result = Regex.Replace(yourStr,@"(\b\d{3})\d{4}",""); 写漏了string yourStr = "13800000000";string result = Regex.Replace(yourStr, @"(?<=\b\d{3})\d{4}", "****"); (?<=\b\d{3})\d{4})这正则我完全看不懂。 string yourStr = "13800000000";string result = Regex.Replace(yourStr, @"(?<=\b\d{3})\d{4}", "****");This is it~ yeah。我勉强看得懂。。果然强人 webbrower怎么点击网页上的按钮 求winform调用windows搜索功能 不显示删除回复显示所有回复显示星级回复显示得分回复 请问怎么接收返回的XML文档 c# 写的WINFORM程序运行一段时间后,出现异常自动关闭的问题 订机票功能中的数据从哪来? C# DllImport 调用外部DLL 程序结束时遇到错误 C# 中,关于checkedListBox中item的选中事件 收集用户的生日的问题 简单问题 请高手近来,急 如何 在TextBox按下回车键之后,响应“确认”按钮的事件! c# 一个 引用被冲掉的问题
string yourStr = "13800000000";
string result = Regex.Replace(yourStr, @"(?<=\b\d{3})\d{4}", "****");
string result = Regex.Replace(yourStr, @"(?<=\b\d{3})\d{4}", "****");
This is it~
果然强人