Validate and decompose email address (English alphabet compliant)
If you understand the regexp, you can adjust it to your need.
restrict special characters to .%_'- (localpart)
limit length of each part and the whole to reasonable size
supports 'XN' tld
If you need help, read http://www.regular-expressions.info/email.html
See also https://www.debuggex.com/r/9cdaaw...
Submitted by RonanKER - 6 years ago