Re: name and email address parsing

2008-07-22 Thread Kyle Sluder
On Tue, Jul 22, 2008 at 1:23 PM, Wayne Shao <[EMAIL PROTECTED]> wrote: > I want to parse our the user's name from email address such as > "Joe Smith" <[EMAIL PROTECTED]> Do be careful; I'm reasonably sure that it is impossible to express all valid email addresses with a regex. And if it is p

Re: name and email address parsing

2008-07-22 Thread Dave DeLong
The RegexKit Framework[1] adds that functionality you're looking for. Dave [1] http://regexkit.sourceforge.net/ On Tue, Jul 22, 2008 at 11:23 AM, Wayne Shao <[EMAIL PROTECTED]> wrote: > Hi, > > Does cocoe libraries support regex for common string parsing? ___

name and email address parsing

2008-07-22 Thread Wayne Shao
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 PROTECTED]> Joe M. Smith <[EMAIL PROTECTED]> Joe M. Smith (joejoe) <[EMAIL PROTECTED]> joejoe would be nickname here. I n