Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^([a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]{1,64}@([a-zA-Z0-9-]+.[a-zA-Z0-9-]{2,}){1,255}){1,320}$
/

Description

Regrex email before @ is <= 65 characters After @ is <= 255 characters After . net >= 2 characters Lenght all of email <= 320 character

Submitted by anonymous - 8 years ago