Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

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

Description

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

Submitted by anonymous - 9 years ago