vagrantatbeijing
  1. NSString *emailRegex = @"[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}"
  2.     NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"SELF MATCHES%@",emailRegex]; 
  3.     return [emailTest evaluateWithObject:email];
网上看到的,未验证,仅供参考

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2021-11-06
  • 2021-12-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-12-28
  • 2021-09-29
  • 2021-10-19
  • 2021-12-01
相关资源
相似解决方案