正则表达式

1:验证WBS码   string pattern = @"^[0-9]{1,}(.[0-9]{1,})*(.[0-9]{1,})?$";

原文地址:https://www.cnblogs.com/wangzuofei/p/12848709.html