in reply to How to validate E-mail addresses
To do it correctly, it is not a simple regexp. use the Email::Valid module from CPAN.
use Email::Valid; print (Email::Valid->address('maurice@hevanet.com') ? 'yes' : 'no');
Those who know that they are profound strive for clarity. Those who
would like to seem profound to the crowd strive for obscurity.
--Friedrich Nietzsche
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: E-mail
by hacker (Priest) on Aug 04, 2002 at 20:05 UTC |