Regular Expressions 101

Sponsors

Library entries

6
pcre

json

{1:aa,2:bb,3:"aa:bb"}
Submitted by suat & umut - 8 years ago
6
pcre

Extract style

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

Username:Password

Regex For finding username:password
Submitted by Ghost - 7 years ago
6
python

Find consecutive duplicate words

no description available
Submitted by anonymous - 7 years ago
7
python

CSS Import

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

rsyslog test

global modifier
Submitted by dtmland - 7 years ago
7
python

repeat group match

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

Any positive integer except zero

no description available
Submitted by Harsh - 7 years ago

Date Regex(DD/MM/yyyy)

Vote

18

Regular Expression
pcre

/
^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/((19|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))|((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))$
/
g

Description

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