title: How to add "," in regular expression to send multiple mail in objective c
body: <p>I am new on iOS and I am facing problem regarding add <code>,</code> in the regular expression.</p>
  
  <p>My code is like this</p>
  
  <pre><code> NSString *emailRegEx = @"[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,100}";        
  NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", emailRegEx];
  </code></pre>
  
  <p>If I add <code>,</code> in the regular expression app get crash</p>
  
  <pre><code> NSString *emailRegEx = @"[A-Z0-9a-z._%+-,]+@[A-Za-z0-9.-,]+\\.[A-Za-z,]{2,100}";
   NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", emailRegEx];
  </code></pre>
  
  <p>Error is like this</p>
  
  <blockquote>
    <p>NSInternalInconsistencyException', reason: 'Can't do regex matching,
    reason: Can't open pattern U_REGEX_INVALID_RANGE (string
    abc@gmail.com,xyz@gmail.com, pattern
    [A-Z0-9a-z._%+-,]+@[A-Za-z0-9.-,]+.[A-Za-z,]{2,100}, case 0, canon
    0)'</p>
  </blockquote>
  
  <p>Did some one face this type of issue?I need to send multiple emails.
  Thanks in Advance!</p>