摘要: public bool regexyn(string lsstr) { Regex r=new Regex(@"^\d+(\.)?\d*$"); if(r.IsMatch(lsstr)) { return true; } else { return false; } } 阅读全文
posted @ 2006-08-31 11:12 tohen 阅读(724) 评论(1) 推荐(0) 编辑