Regular Expressions 101

Sponsors

Library entries

0
javascript

sql inj

as
Submitted by anonymous - 9 hours ago
0
pcre2

aff url normalize

conevrt url
Submitted by anonymous - 17 hours ago
0
pcre

amazIng regex

super
Submitted by anonymous - 21 hours ago
0
pcre2

Date time ISO_8601 Pattern

credits to Sayooj V R
Submitted by anonymous - 2 days ago
0
pcre2

routes

routes
Submitted by anonymous - 2 days ago
0
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 3 days ago
0
pcre2

GS1-128 and RegEx

Parse the 3 groups of a GS1-128 Barcode
Submitted by Mike D - 4 days ago
0
javascript

Currency

Currency
Submitted by jerryd - 4 days ago
0
pcre2

Dafne

.NSO.HORDIN_XMLDAFNEV..xml
Submitted by Dorino - 4 days ago
0
pcre2

12 hours regex

Define hour at 12 hours
Submitted by anonymous - 4 days ago
0
pcre2

Hour regex

Define 24 hour format
Submitted by anonymous - 4 days ago
0
pcre2

Model Code validator

Check the modelCode for iOS/iPadOS devices
Submitted by ppeelen - 5 days ago
0
pcre2

regex

remove pun
Submitted by anonymous - 5 days 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