Test email for Select2 via regular expression not working I have set up email validation for a Select2 list with help of a regular expression.