I have this email validation regex
[a-zA-Z0-9\\\\+\\\\.\\\\_\\\\%\\\\-\\\\+']{1,256}[\\\\@]{1}[a-zA-Z0-9][a-zA-Z0-9\\\\-]{0,64}([\\\\.]{1}[a-zA-Z0-9][a-zA-Z0-9\\\\-]{0,25})+
but it won't allow for emails like asd-asd@gmail.com ... i.e. using "-". I can't figure out how to make it work. Any ideas ?