I\'m using the following code on my iPhone app, taken from here to extract all URLs from striped .html code.
I\'m only being able to extract the first URL, but I nee
Try NSDataDetector
NSDataDetector *linkDetector = [NSDataDetector dataDetectorWithTypes:NSTextCheckingTypeLink error:nil]; NSArray *matches = [linkDetector matchesInString:text options:0 range:NSMakeRange(0, [text length])];