+ (BOOL)validatePwd:(NSString *)param
{
NSString *pwdRegex = @"^[a-zA-Z0-9]+$";
NSPredicate *pwdPredicate = [NSPredicate predicateWithFormat:@"SELF MATCHES %@",pwdRegex];
return [pwdPredicate evaluateWithObject:param];
}
+ (BOOL)validatePwd:(NSString *)param
{
NSString *pwdRegex = @"^[a-zA-Z0-9]+$";
NSPredicate *pwdPredicate = [NSPredicate predicateWithFormat:@"SELF MATCHES %@",pwdRegex];
return [pwdPredicate evaluateWithObject:param];
}