-4

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.

MatterGoal
  • 16,038
  • 19
  • 109
  • 186
  • I'm sorry .. writing the title i get from automation only similar argument that i don't realize were so similar to my question. – MatterGoal Dec 07 '11 at 10:14

1 Answers1

0

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 :)

Community
  • 1
  • 1
nulltoken
  • 64,429
  • 20
  • 138
  • 130