asp.net 字符截取问题 急~~~ 比如:49646464SAFLJASLFJ798789 这个字符串 怎么截取英文字母前面的数字? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 string str = "49646464SAFLJASLFJ798789"; Regex reg = new Regex(@"(?i)\d+(?=[a-z]+)"); Console.WriteLine(reg.Match(str).Value); Console.ReadLine();//49646464 可以把aspx页面的request对象直接传递给wcf吗? asp.net选择图片文件 预览的问题 datalist问题 .net提交问题 asp.net中一般处理程序如何使用session进行登录验证 有实现这样功能的sql语句么??? .net开发人员 大家帮测试一下我的.net程序 asp.net mvc 如何接收支付宝支付接口 异步通知 notify 关于Win 2003 server 下DotNet中访问权限的问题 MVC 传值 显示 flashpaper MainView.as
Regex reg = new Regex(@"(?i)\d+(?=[a-z]+)");
Console.WriteLine(reg.Match(str).Value);
Console.ReadLine();
//49646464