Regular Expressions 101

Sponsors

Library entries

0
pcre

User-Agent

Parser
Submitted by sn3kdev - 4 days ago
0
javascript

prince first try

im just trying this out
Submitted by prince - 5 days ago
0
pcre

Parcing2

aa
Submitted by anonymous - 6 days ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 6 days ago
4
javascript

YouTubeVideoUrl

YouTubeVideoUrl
Submitted by EdwardKonovalov - 7 days ago
0
javascript

SRD TEST Internal

Test guts to gather Stat and amount
Submitted by anonymous - 9 days ago
0
javascript

Storyblok Img2

Parse img2.storyblok.com URLs
Submitted by anonymous - 9 days ago
0
javascript

Shashi test

Shashi
Submitted by anonymous - 9 days ago
1
javascript

Simple CSS selectors

Matches all types of CSS selectors
Submitted by anonymous - 10 days ago

Validate Date Represented by Integer 1900 - 2099

Vote

0

Regular Expression
pcre

/
^(?'Year'(?:[2][0]|[1][9])(?:[0-9]{2,2}))(?'Month'(?:[0][1-9]|[1][0-2]))(?'Day'[0-2][1-9]|[3][0-1]|[1,2][0])$
/

Description

Loading markdown...
Submitted by Edward Rush - 3 months ago