Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: validate an email address ?

by Gloom (Monk)
on Feb 16, 2001 at 21:16 UTC ( #58896=note: print w/replies, xml ) Need Help??


in reply to validate an email address ?

if( $emailaddress =~ m!\@[.a-zA-Z0-9]+\.[a-zA-Z0-9]+$! ) { $emailcheck++ }

But it's too simple to really check an email address..

Update

I only tried to answer simply to the question and adviced him to look for a more serious solution
___________________
Hope this helps

Replies are listed 'Best First'.
Re: Re: validate an email address ?
by merlyn (Sage) on Feb 16, 2001 at 21:19 UTC
    This is wrong, for all the normal reasons. {grin} Please search the wealth of info available on this topic already, or even the other messages likely to pop up on this thread alone!

    -- Randal L. Schwartz, Perl hacker

      Amen.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://58896]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2022-01-24 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?