How do you validate an email address?
Must start with characters or digits, which may be separated with . or _ and contain the @ symbol. Top second and third level names must be separated with . character and end in top level domain (.com .net or .co.uk).
The constructor should take a single STRING argument, the email address. If it's malformed (not valid) it should throw a MalformedEmailException with appropriate message.
Can anybody help, 'cos I'm lost here!