in reply to Yet Another Email Validation question

You might try stealing the code from Email::Valid, if you can't install it. Otherwise, you just need to consider what constitutes a "valid" email address format for the purposes of your application.

At the very least, I think you want to change the dots in your regex to \S.


The PerlMonk tr/// Advocate
  • Comment on Re: Yet Another Email Validation question

Replies are listed 'Best First'.
Re: Re: Yet Another Email Validation question
by sweetblood (Prior) on Apr 06, 2004 at 16:09 UTC
    Excellent suggestion!

    Thanks!