Me being vastly more productive. Extract all the http like URL's from a string and print them:
for(id match in [searchString componentsMatchedByRegex:@"\\bhttps?://[a-zA-Z0-9\\-.]+(?:(?:/[a-zA-Z0-9\\-._?,'+\\&%$=~*!():@\\\\]*)+)?"]) { printf("URL: %s\n", [match UTF8String]); }
Me being vastly more productive. Extract all the http like URL's from a string and print them:
I dare you, I double dog dare you to do the same thing in three lines of code with C and PCRE.