Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^(?:[^\s@]*)[\w]{1}@{1}(?:[^\s@]+)[\.]{1}(?:[^\s@]{1,255}\w{1})$
/
mg

Description

Simply e-mail pattern for html <input type="email" pattern=""> tag.

Submitted by KsaR99 - 2 months ago