I need to Write JavaScript Code to force the User to input a VALID EMAIL ADDRESS using a Prompt Box:
Using the following:
(1) There should be an @ character.
(2) There should be a . character.
(3) The @ should occur BEFORE the last . character.
(4) There should be alphanumeric (a-z A-Z 0-9 only) text BEFORE the @ character.
(5) There should be alphanumeric text BETWEEN the @ and . characters.
(6) There should be alphanumeric text AFTER the . character.
(7) There should be a DISTINCT ALERT MESSAGE for each of errors (1)-(6).
Thanks.
Sachi

