Regular Expressions 101

Sponsors

Library entries

0
pcre2

username or email?

validate username or email
Submitted by anonymous - 12 days ago
0
pcre2

Match phrase at end of line.

Match phrase at end of line.
Submitted by s1nglethr3ad - 12 days ago
0
javascript

dimension

t
Submitted by t - 12 days ago
0
pcre2

GCR Image Regex

GCR Images
Submitted by anonymous - 12 days ago
0
pcre2

Wagtail

Deferring images with wagtail
Submitted by punksage - 13 days ago
0
pcre2

Junction Tertiary

Tertiary Junction Power Detection
Submitted by anonymous - 13 days ago
0
pcre2

consonants

finally made same but this one works on all sides
Submitted by anonymous - 13 days ago
0
python

Media files

Matching majority of media files
Submitted by Moses - 14 days ago
0
python

Barcodes

Matching barcodes
Submitted by Moses - 14 days ago
0
pcre

Telegram joinchat url validation

see testing
Submitted by anonymous - 15 days ago

yyyy/mm/dd

Vote

1

Regular Expression
golang

`
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))(\/)02(\/)29))$
`
gm

Description

Loading markdown...
Submitted by mayl0421 - 5 months ago