This isn't working for some reason it just crashes my app:
NSString *urlRegex = @"\\bhttps?://[a-zA-Z0-9\\-.]+(?:(?:/[a-zA-Z0-9\\-._?,'+\\&%$=~*!():@\\\\]*)+)?";
NSString *urlParsedStatus = [status stringByReplacingOccurrencesOfRegex:urlRegex withString:@"<a href=\"$1\">$1</a>"];
NSLog(@"new string: %@", urlParsedStatus);
any idea why this isn't working?
Thanks