$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.
In reply to Re^2: input - E-mail address - how to check string ?
by Not_a_Number
in thread input - E-mail address - how to check string ?
by zalezny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |