Regular Expressions 101

  • JavaScript
  • Match
0

Regular Expression

/
^(([A-Za-z0-9-_+]+(?:\.[A-Za-z0-9-_]+)*)@([A-Za-z0-9-]+(?:\.[A-Za-z0-9]+)*(?:\.[A-Za-z]{2,})))$
/

Description

Regex to validate and get info from email string

Submitted by Anonymous