예제 #1
0
파일: Strings.cs 프로젝트: webkeg/keyhub
 public static bool IsEmail(string input)
 {
     return(RegexUtils.IsExactMatch(input, RegexUtils.REGEX_EMAIL));
 }
예제 #2
0
파일: Strings.cs 프로젝트: webkeg/keyhub
 public static bool IsNumeric(object input)
 {
     return(RegexUtils.IsExactMatch(CutWhitespace(Convert.ToString(input)), RegexUtils.REGEX_NUMERIC));
 }