Regular Expressions 101

Sponsors

Library entries

3
pcre

ln -l linux parse

parse linux ln -l output command
Submitted by guignol95 - 7 years ago
3
pcre

Select all number greater than 36

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

coffeescript operator

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

Remove br tags inside anchor tags

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

JWT Validation

Validate a Json Web Token (JWT).
Submitted by Erik Maas - 7 years ago
3
pcre

TTML time expression offset-time

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

apache access log

parse the apache access log
Submitted by pagu - 7 years ago

Date: DD-MM-YYYY hh:mm:ss

Vote

18

Regular Expression
pcre

/
^(0[1-9]|1\d|2[0-8]|29(?=-\d\d-(?!1[01345789]00|2[1235679]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. - 9 years ago