Regular Expressions 101

Sponsors

Library entries

0
javascript

token

replace token like [foo:bar:ba zz]
Submitted by anonymous - 7 years ago
1
javascript

search text matching any word

search text matching any word
Submitted by Hiren Shah - 7 years ago
-2
javascript

Date format regex for ddMMMyyyy

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

author bibtext

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

Vimeo Video ID

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

YouTube Video PArser

no description available
Submitted by Shafique - 7 years ago
0
javascript

two matches with pipe

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

salary

Chinese salary input
Submitted by taijia - 7 years ago
3
javascript

Italian ZIP code (CAP)

Codice avviamento postale Italiano (ZIP)
Submitted by Italo - 7 years ago
3
javascript

Italian VAT (IVA)

Italian VAT
Submitted by Italo - 7 years ago
1
javascript

Italian Fiscal Code [Codice fiscale]

Codice fiscale italiano
Submitted by Italo - 7 years ago
0
javascript

IBAN

Italian IBAN
Submitted by Italo - 7 years ago

UK (Europe) DateTime

Vote

-2

Regular Expression
javascript

/
^((((31[- /.](0?[13578]|1[02]))|((29|30)[- /.](0?[1,3-9]|1[0-2])))[- /.](1[6-9]|[2-9]\d)?\d{2})|(29\/0?2[- /.](((1[6-9]|[2-9]\d)?(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))|(0?[1-9]|1\d|2[0-8])[- /.]((0?[1-9])|(1[0-2]))[- /.]((1[6-9]|[2-9]\d)?\d{2})) (20|21|22|23|[0-1]?\d):[0-5]?\d:?[0-5]?\d$
/

Description

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