name and email address parsing
name and email address parsing
- Subject: name and email address parsing
- From: "Wayne Shao" <email@hidden>
- Date: Tue, 22 Jul 2008 10:23:12 -0700
Hi,
Does cocoe libraries support regex for common string parsing?
I want to parse our the user's name from email address such as
"Joe Smith" <email@hidden>
Joe M. Smith <email@hidden>
Joe M. Smith (joejoe) <email@hidden> joejoe
would be nickname here.
I need to parse out first name, last name, and email address, and
email domain.
This may be a very common task but google search results are not so helpful.
any hints or pointers are appreciated before I start to code with
NSString primitive methods.
--
Wayne
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden