Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^[_A-Za-z0-9-\+]+(\.[_A-Za-z0-9-]+)*[^~@#\^\$&\*\(\)\-_\+=\[\]\{\}\|\\,\.\?\s]@[^~@#\^\$&\*\(\)\-_\+=\[\]\{\}\|\\,\.\?\s]+(\.[A-Za-z0-9]+)*(\.[A-Za-z]{2,})$
/

Description

Validation of email with no allow to only special char before and after @ symbol, generic validation for domain

Submitted by Kamil Popis - 9 years ago