摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) ... 阅读全文
posted @ 2017-01-11 19:41
黄朝旺
阅读(6683)
评论(0)
推荐(0)
摘要:
一、校验数字的表达式 1 数字:^[0-9]*$ 2 n位的数字:^\d{n}$ 3 至少n位的数字:^\d{n,}$ 4 m-n位的数字:^\d{m,n}$ 5 零和非零开头的数字:^(0|[1-9][0-9]*)$ 6 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9] 阅读全文
posted @ 2017-01-11 19:12
黄朝旺
阅读(10515)
评论(1)
推荐(2)