in reply to Re: input - E-mail address - how to check string ?
in thread input - E-mail address - how to check string ?
$email =~ /^[a-z0-9]+@[a-z0-9]+\.[a-z0-9]+$/
It ain't as easy as that, unfortunately. Among multiple other problems, this rejects the millions of Brits who have an address ending in @<whatever>.co.uk.
|
|---|