Tommy's Blog

Developer's Home

导航

随笔分类 -  Develop Tips and Articles

Tips and articles in .NET, java, etc.
摘要:http://spaces.msn.com/members/water100/Blog/cns!1pjjh4A8ZSs9sPXNYrm-6olQ!111.entry/fo+/ o一个或一个以上/fo*/ o 零个或一个以上/fo?/  零个或一个/tom{1,2}y/ m一个至两个\s:用于匹配单个空格符,包括tab键和换行符; \S:用于匹配除单个空格符之外的所有字符; \d:用于匹配... 阅读全文

posted @ 2005-05-04 22:40 Tommy's Blog 阅读(534) 评论(0) 推荐(0)

摘要:表 10.2:常用的正则表达式字段 字段 表达式 格式示例 说明 名称 [a-zA-Z'`-´\s]{1,40} John DoeO'Dell 验证名称。最多允许使用 40 个大写字母和小写字母,以及一些在名称中常用的特殊字符。此列表可进行调整。 数字 ^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$ (425)-555-0123425-555-01... 阅读全文

posted @ 2005-04-21 22:10 Tommy's Blog 阅读(1605) 评论(4) 推荐(0)

摘要:http://www.codeproject.com/dotnet/PdfLibrary.asp Creating a PDF Document Creating a PDF document can be divided into three steps. Writing the header of the PDF file. Creating pages of the doc... 阅读全文

posted @ 2004-12-21 16:23 Tommy's Blog 阅读(1155) 评论(1) 推荐(0)