title: Validate URLs which contain emojis in Objective-C
body: <p>I'm validating URLs with the following method:</p>
  
  <pre><code>+ (BOOL)confirmValidUrl:(NSString *)url {
  
      BOOL isValidURL = NO;
      NSString *urlRegEx = @"(?:www\\.)?[\\w\\d\\-_]+\\.\\w{2,3}(\\.\\w{2})?(/(?&lt;=/)(?:[\\w\\d\\-./_]+)?)?";
      NSPredicate *urlPredic = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", urlRegEx];
      isValidURL = [urlPredic evaluateWithObject:url];
  
      return isValidURL;
  }
  </code></pre>
  
  <p>Now I need to mark as valid URLs the ones that have emojis like <strong>http://.la</strong> but I haven't found anything related to this, does someone know how I should modify my method to do what I'm looking for?</p>
  
  <p>Thanks in advance.</p>