Regular Expressions 101

Sponsors

Library entries

1
javascript

Email Finder

Finds all emails including .co.uk like ones
Submitted by Oliver - 6 years ago
1
javascript

Starbucks

no * before the name
Submitted by anonymous - 3 years ago
1
javascript

Egypt Phone Number Validation

no description available
Submitted by anonymous - 2 years ago
1
javascript

capture production

no description available
Submitted by anonymous - 3 years ago
1
javascript

map json

no description available
Submitted by anonymous - 2 years ago
1
javascript

word boundary position

no description available
Submitted by anonymous - 2 years ago

email or empty

Vote

1

Regular Expression
javascript

/
(^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,}$|^(?![\s\S]))
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago