开通VIP,畅享免费电子书等14项超值服
首页
好书
留言交流
下载APP
联系客服
2020.07.30
StreamReader sr = new StreamReader("c:\\1.txt");
string s;
string pattern = "\d+";
while ((s = sr.ReadLine()) != null)
{
if (System.Text.RegularExpressions.Regex.IsMatch(s, pattern))
Console.WriteLine(s);
}
微信登录中...请勿关闭此页面