Softaculous interview question

validate email-id using javascript