Regular Expressions 101

Sponsors

Library entries

0
javascript

Mez regex #3

This is the #3 regex used in Mez
Submitted by anonymous - 7 days ago
0
javascript

Mez regex #1

This is the #1 regex used in Mez
Submitted by anonymous - 7 days ago
0
pcre2

find between 2 strings

find between 2 strings
Submitted by anonymous - 8 days ago
0
pcre

find between

find between
Submitted by anonymous - 8 days ago
0
python

Url handling

Simple regex to split url
Submitted by Hangfish - 8 days ago
0
pcre2

Jerem

To match specific name based on season code
Submitted by anonymous - 9 days ago
0
pcre2

.csv data conversion for a test case

from "['a']" to "[""a""]"
Submitted by anonymous - 11 days ago
0
javascript

UA phone number

check ua phone number
Submitted by anonymous - 12 days ago
0
pcre2

track OM cash out

cash out tracker
Submitted by anonymous - 12 days ago

Date Validation

Vote

0

Regular Expression
javascript

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

Description

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