Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^(([a-z0-9_"+-]+\.{0,1})*([a-z0-9_"+-]+)){1,64}@((\[{0,1}([0-9]{1,3}.){3}[0-9]{1,3}\]{0,1})|(([a-z0-9][a-z0-9_+-]+)(\.[a-z]{2,})+))$
/

Description

Regex for email with testcase from page https://www.softwaretestingo.com/test-cases-for-email-field/

Submitted by BanhPow - 2 years ago (Last modified 2 years ago)