I need to extract emails contained into a NSString like this:
This is an email test@test.de and another one is this test2@test.com
I read about 2 solutions.. use Regular expression or range but i'm still confused.
I need to extract emails contained into a NSString like this:
This is an email test@test.de and another one is this test2@test.com
I read about 2 solutions.. use Regular expression or range but i'm still confused.
There are indeed plenty of similar questions on StackOverflow related to usage of regular expressions in Objective C. See this list, for instance.
However, it looks like this one, among others, may provide you with some additional help on your email related subject.
Please keep in mind that there's no perfect simple-silver-bullet-regex for parsing emails. It's a tricky business :)