Regular Expressions 101

Sponsors

Library entries

0
java

IOP test regex

test string returned from error message
Submitted by anonymous - 23 minutes ago
0
pcre

MBI Regex

validates against the MBI format published by CDC
Submitted by i410hlr - 4 hours ago
0
pcre

Parse arguments

Parse arguments
Submitted by Ofir Yariv - 5 hours ago
0
dotnet

15.02.2022 15:00:00

15.02.2022 15:00:00
Submitted by anonymous - a day ago
0
dotnet

Minimum 10 herhangi dijit

Minimum 10 herhangi dijit
Submitted by anonymous - a day ago
0
dotnet

USD

USD
Submitted by anonymous - a day ago
0
dotnet

01 Jan 2022 Mon 01:02:03

01 Jan 2022 Mon 01:02:03
Submitted by anonymous - a day ago
0
dotnet

^[A-Z,a-z,\-, ,\&]+$

Koray Bilgi, Text-Regex
Submitted by anonymous - a day ago
-1
dotnet

MMM DDD YYYY

FEB MON 2023
Submitted by anonymous - a day ago
0
pcre

User-Agent

Parser
Submitted by sn3kdev - 5 days ago
0
pcre

Parcing2

aa
Submitted by anonymous - 7 days ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 7 days ago
0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 8 days ago
0
java

carbon

test1
Submitted by anonymous - 8 days ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 8 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