Regular Expressions 101

Sponsors

Library entries

0
pcre2

Validation

^a-zA-Z+@[a-zA-Z]{3,20}\.[a-z]{3}$
Submitted by anonymous - 14 hours ago
0
javascript

Date Validator

Submitted by anonymous - a day ago
0
javascript

111

111
Submitted by Alex - a day ago
0
pcre2

Password

Password includes a,A,1,!$#%
Submitted by anonymous - 3 days ago
0
pcre2

长宽高

长宽高
Submitted by mouxan - 4 days ago
0
pcre2

match extends in a class

to match extends in a class
Submitted by anonymous - 4 days ago
0
pcre2

implements Regex

To match implements in classes
Submitted by anonymous - 4 days ago

email

Vote

-4

Regular Expression
javascript

/
(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
/

Description

Loading markdown...
Submitted by public - 8 years ago