Regular Expressions 101

Sponsors

Library entries

3
pcre

Cisco ASA

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

Italian VAT (IVA)

Italian VAT
Submitted by Italo - 8 years ago
3
javascript

Italian ZIP code (CAP)

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

email

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

HH:MM:SS

Validates 00:00:00 to 23:59:59
Submitted by anonymous - 8 years ago
3
javascript

youtube id und link

no description available
Submitted by ogerly - 8 years ago
3
pcre

hj

hj
Submitted by hj - 8 years ago
3
pcre

currency

no description available
Submitted by anonymous - 7 years ago
3
pcre

Currencies

Matches numbers formatted like currencies
Submitted by elgehelge - 7 years ago
3
javascript

Find Lat/Long Coordinate pair regex

no description available
Submitted by Mike - 7 years ago
3
pcre

Perl

no description available
Submitted by anonymous - 7 years ago
3
pcre

Forum user validation

Pedro al DAMS
Submitted by giacomo - 7 years ago

dd-mm-YYYY HH:mm:ss (year range 1000-2999)

Vote

-18

Regular Expression
pcre

/
^(0[1-9]|1\d|2[1-8]|29(?=-\d\d-(?!1[26]00|2[048]00)\d\d(?:[02468][048]|[13579][26]))|30(?!-02)|31(?=-0[13578]|-1[02]))-(0[1-9]|1[0-2])-[12]\d{3} ([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$
/
gm

Description

Loading markdown...
Submitted by Ka. - 10 years ago