Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I appreciate any advise you can give me.if ($_f->{name} =~ /email/ && ($value =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^ +\.) / || $value !~ /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{ +1,3})(\]?)$/)) { $_f->{errors} = "Invalid Email Address!"; $_errors++; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: validating email address problem
by GrandFather (Saint) on Aug 17, 2007 at 05:08 UTC | |
|
Re: validating email address problem
by bobf (Monsignor) on Aug 17, 2007 at 05:12 UTC | |
|
Re: validating email address problem
by McDarren (Abbot) on Aug 17, 2007 at 05:11 UTC |