Regular Expressions 101

Sponsors

Library entries

0
pcre2

Email Regex

A well equiped regex
Submitted by anonymous - a day ago
0
pcre2

Soundcloud pattern

Soundcloud pattern
Submitted by anonymous - a day ago
0
pcre2

YouTube regex pattern v2

YouTube regex pattern v2
Submitted by anonymous - a day ago
0
pcre2

suprnana

whodis
Submitted by anonymous - a day ago
0
pcre2

Divide AAAA and MMGG

Division between AAAA and MMGG
Submitted by Alessandro - 2 days ago
0
pcre2

auth.log grouping

Putting auth.log file into groups.
Submitted by Jason King - 2 days ago
0
pcre2

Strip datetime -> date

Strip datetime -> date
Submitted by anonymous - 4 days ago
0
pcre2

Sports Release Regex attempt #1

Yes. Its a thing.
Submitted by anonymous - 4 days ago
0
pcre2

matches 4 or 6 or 8 digit which might be otp

test
Submitted by test - 5 days ago

dsf

Vote

1

Regular Expression
javascript

/
^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[1,3-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$
/

Description

Loading markdown...
Submitted by fdsfdsfdsf - 9 years ago