All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
LINQ体验(8)——LINQ,to,SQL语句之Union,All,、Union、,Intersect
Asp.Net中文本换行_[Asp.Net教程]
ASP.NET重定向方法大总结_.net资料_编程技术
菜鸟学习php一个月总结_[PHP教程]
PHP入门:初学来看配置文件PHP.INI的中文注释_[PHP教程]
Sql,server,2005数据库中的DDL触发器_[SQL,Server教程]
ASP.NET,主题和外观_[Asp.Net教程]
PHP学习宝典-第八章(一)_[PHP教程]
javascript自定义模式对话框_JavaScript技术_编程技术
如何利用SQL查询返回庞大的整数序列表_[SQL Server教程]
Reading number is top 10 pictures
30 beautiful school beauty6
西游日记1
分手的感悟
The money of more than 100 countries and regions9
乳娘帕梅拉安德森5
Ashlynn Brooke photograph of a group3
Born After 90 Beijing sports university campus flower photos2
美女
西班牙山村小景2
The real super beauty13
Download software ranking
The Bermuda triangle3
matrix3
The Bermuda triangle2
实战黑客不求人
Such love down(擒爱记)
株洲本地在线棋牌游戏
Boxer's Top ten classic battle5
apache-tomcat-6.0.33
VC++6.0简体中文版
C#高级编程(第4版)
aaa published in(发表于) 2013/12/13 9:43:49 Edit(编辑)
正则表达式中的组集合的使用_.net资料_编程技术

正则表达式中的组集合的使用_.net资料_编程技术

正则表达式中的组集合的使用_.net资料_编程技术-你的首页-uuhomepage.com

简单实例:


string s = "2005-2-21";
Regex reg = new Regex(@"(?\d{4})-(?\d{1,2})-(?\d{1,2})",RegexOptions.Compiled);

Match match = reg.Match(s);
int year = int.Parse(match.Groups["y"].Value);
int month = int.Parse(match.Groups["m"].Value);
int day = int .Parse(match.Groups["d"].Value);
DateTime time = new DateTime(year,month,day);







添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.