Regular Expressions 101

Community Library Entry

-1

Regular Expression
ECMAScript (JavaScript)

/
^[a-z0-9.]+@[a-z0-9]+(\.[a-z]+)+$
/
i

Description

this regex validates e-mails.

const isValid= <regex>.text(value)

Submitted by anonymous - 3 years ago