Example #1
0
 public static bool IsEmail(string input)
 {
     return(RegexUtils.IsExactMatch(input, RegexUtils.REGEX_EMAIL));
 }
Example #2
0
 public static bool IsNumeric(object input)
 {
     return(RegexUtils.IsExactMatch(CutWhitespace(Convert.ToString(input)), RegexUtils.REGEX_NUMERIC));
 }