Regular Expressions 101

Community Patterns

Community Library Entry

3

Regular Expression
ECMAScript (JavaScript)

/
^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$
/
i

Description

This is a bit simpler version that is still quite robust. It was taken from a Formik example.

Submitted by codefinity - 4 years ago