Regular Expressions 101

Sponsors

Library entries

0
dotnet

No leading or trailing spaces

No leading or trailing spaces
Submitted by anonymous - 4 days ago
0
dotnet

Ipv4 with optional port

ipv4 with optional port
Submitted by anonymous - 4 days ago
0
dotnet

E-mail

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

篩選MP Log Day

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

Script Tag Json

asd
Submitted by anonymous - 3 months ago

Date extractor

Vote

1

Regular Expression
javascript

/
^([1-9]\d*)-(0[1-9]|1[0-2])-(0?[1-9]|[1-2]\d|3[0-2])(?:\x20([01][0-9]|2[0-3]):([0-5]\d):([0-5]\d)(\.\d+)?)?$
/
gm

Description

Loading markdown...
Submitted by luis140219 on GitHub - 7 years ago