in reply to Parsing email addresses (was: Regex Help)
See this node for some answers to your problem.
A quick solution, however, would be to /\@(.+?)\s/; or ($user, $domain) = split(/\@/, $email, 2);
Update: Fixed a yet another typo, got rid of a temp array... thanks grep :)
John J Reiser
newrisedesigns.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (nrd)Regex Help
by sauoq (Abbot) on Aug 29, 2002 at 06:32 UTC | |
by newrisedesigns (Curate) on Aug 29, 2002 at 12:30 UTC |