Regular Expressions 101

Sponsors

Library entries

0
pcre

Parcing2

aa
Submitted by anonymous - 18 hours ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - a day ago
0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 2 days ago
0
java

carbon

test1
Submitted by anonymous - 2 days ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 2 days ago
0
dotnet

Match IPv4 Valid

expression to capture valid IP
Submitted by anonymous - 5 days ago
0
pcre

NMEA after timestamps

Picks up (most?) NMEA messages.
Submitted by David Harrison - 11 days ago
0
dotnet

Get h1-6 tag

(.*?)
Submitted by OlegBel - 15 days ago
0
java

Match gradle dependencies

.
Submitted by anonymous - 20 days ago
0
dotnet

nick anme

mvp
Submitted by doppler - 21 days ago
0
java

DSA

dsa
Submitted by DSA - 22 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 - 2 months ago