|get| 2006-09-18
1.学到验证URL的正则表达式
2.工厂外发出去加工东西,在采购系统里叫“托工”,所以接下来要做一下托工单电脑化
1//验证url
2 public static bool isURL(string strInput)
3 {
4 return Regex.IsMatch(strInput,@"http://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?");
5 }
2 public static bool isURL(string strInput)
3 {
4 return Regex.IsMatch(strInput,@"http://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)?");
5 }
2.工厂外发出去加工东西,在采购系统里叫“托工”,所以接下来要做一下托工单电脑化