Is there a good way to check a form input using regex to make sure it is a proper style email address? Been searching since last night and everybody that has answered peoples questions regarding this topic also seems to have problems with it if it is a subdomained email address.
Use this filter mask on email input:
emailMask:  /[\w.\-@'"!#$%&'*+/=?^_{|}~]/i`
How to check for valid email address?