Regular Expressions 101

Community Patterns

Regrex email 64@255.2

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 . need >= 2 characters Lenght all of email <= 320 character

Submitted by anonymous - 7 years ago