几个常用的正则判断
摘要:
public static bool IsNumeric(string value) { return Regex.IsMatch(value, @"^[+-]?\d*[.]?\d*$"); } public static bool IsInt(string value) { return Regex.IsMatch(value, @"^[+-]?\d*$")... 阅读全文
posted @ 2017-11-13 17:20 清宇诺诺 阅读(316) 评论(0) 推荐(0)
浙公网安备 33010602011771号