Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-10-19 16:50
Flavor·ECMAScript (JavaScript)

/
^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$
/
i
Open regex in editor

Description

This is the javascript equivalent that .NET uses in their server-side validators.

Submitted by anonymous