Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: validate an email address ?

by Gloom (Monk)
on Feb 16, 2001 at 21:16 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (8)
As of 2024-03-28 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found