Regular Expressions 101

Sponsors

Library entries

0
dotnet

Script Tag Json

asd
Submitted by anonymous - 8 months ago
0
dotnet

篩選MP Log Day

篩選MP Log Day
Submitted by anonymous - 8 months ago
0
dotnet

E-mail

My first simple e-mail validator regex :)
Submitted by anonymous - 7 months ago
0
dotnet

Ipv4 with optional port

ipv4 with optional port
Submitted by anonymous - 5 months ago
0
dotnet

No leading or trailing spaces

No leading or trailing spaces
Submitted by anonymous - 5 months ago
0
dotnet

Nepali phone number regex

(\+977)?9\d{8}
Submitted by anonymous - 5 months ago
0
dotnet

Guid parser

Guid parser
Submitted by anonymous - 5 months 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