junoveia

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年9月12日

摘要: 一、正则表达式 //首先引用命名空间using System.Text.RegularExpressions;string s= TextBox1.Text.Trim();Regex reg = new Regex("^[0-9]+$");Match ma = reg.Match(s);if(ma.... 阅读全文
posted @ 2015-09-12 13:41 junoveia 阅读(282) 评论(0) 推荐(0) 编辑