Andrew Curry schreef:
> Or If you want to be really silly
> http://ex-parrot.com/~pdw/Mail-RFC822-Address.html
What is silly about that? It is not complete though.
See also:
http://search.cpan.org/~abigail/RFC_RFC822_Address/Address.pm
http://search.cpan.org/~rjbs/Email-Valid/lib/Email/Valid.p
lt;[EMAIL PROTECTED]>, "Omega -1911" <[EMAIL PROTECTED]>,
"beginners perl"
Sent: Wednesday, October 24, 2007 10:13:52 AM (GMT+0200) Asia/Jerusalem
Subject: RE: Trying to figureout regex please help
Or If you want to be really silly
http://ex-parrot.com/~pdw/Mail-RFC82
Or If you want to be really silly
http://ex-parrot.com/~pdw/Mail-RFC822-Address.html
-Original Message-
From: Andrew Curry [mailto:[EMAIL PROTECTED]
Sent: 24 October 2007 09:13
To: Omega -1911; beginners perl
Subject: RE: Trying to figureout regex please help
A better one for email
A better one for email may be
[EMAIL PROTECTED]
\.]*[a-zA-Z]$
-Original Message-
From: Omega -1911 [mailto:[EMAIL PROTECTED]
Sent: 24 October 2007 08:48
To: beginners perl
Subject: Re: Trying to figureout regex please help
1. ^([a-zA-Z0-9_\-\.]+)@
Can contain a group of letters (case
1. ^([a-zA-Z0-9_\-\.]+)@
Can contain a group of letters (case insensitive) or numbers (0-9), a
period, underscore, hyphen and the @ sign is required.
2. ([a-zA-Z0-9_\-\.]+)\.
Can contain a group of letters (case insensitive) or numbers (0-9), a
period, hyphen, underscore and end with a period.
3.
^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/