Regular Expressions 101

Library entries

Verify and match e-mail address

Vote

0

Regular Expression
pcre

/
(?<email>(?<username>[\w\W]+)@(?<domain>[\w\W]+\.[\w\W]+|localhost))
/
gi

Description

Loading markdown...
Submitted by Josh K - 8 years ago