Regular Expressions 101

Regex Email Format

Open Workspace
  • JavaScript
  • Match
2

Regular Expression

/
^[\w\-_]+(\.[\w\-_]+)*\@[\w\-_]+(\.[\w\-_]+)+$
/
gm

Description

Used to check Email Format

Submitted by Atipat Lorwongam