Regular Expressions 101

Sponsors

Library entries

1
python

surnames

italian uppercase surnames
Submitted by anonymous - a month ago
1
pcre2

find text in html

for tp
Submitted by anonymous - a month ago
1
pcre2

find all url in <a> in html

for tp
Submitted by anonymous - 25 days ago
1
pcre2

aadhar number

Finds Aadhar number from given string
Submitted by anonymous - 25 days ago
1
pcre2

Recognize Bosch partnumber

partsnumber validate
Submitted by Digimusen - 18 days ago
1
javascript

中文匹配

本示例启用了多行匹配 m
Submitted by yang - 9 days ago
1
java

phone number middle number parsing

middle number parsing regex
Submitted by anonymous - 7 days ago
2
python

lottery data picker

for azlottoapi
Submitted by anonymous - 2 years ago
2
python

IpAddress

Ensure the ip address format is correct
Submitted by aaa - 2 years ago
2
pcre2

Dutch zipcodes

no description available
Submitted by anonymous - 2 years ago

Email (RFC2822)

Vote

14

Regular Expression
javascript

/
^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*$
/

Description

Loading markdown...
Submitted by Jago - 7 years ago