Regular Expressions 101

Sponsors

Library entries

0
pcre

MBI Regex

validates against the MBI format published by CDC
Submitted by i410hlr - a day ago
0
pcre

Parse arguments

Parse arguments
Submitted by Ofir Yariv - a day ago
0
dotnet

15.02.2022 15:00:00

15.02.2022 15:00:00
Submitted by anonymous - 2 days ago
0
dotnet

Minimum 10 herhangi dijit

Minimum 10 herhangi dijit
Submitted by anonymous - 2 days ago
0
dotnet

USD

USD
Submitted by anonymous - 2 days ago
0
dotnet

01 Jan 2022 Mon 01:02:03

01 Jan 2022 Mon 01:02:03
Submitted by anonymous - 2 days ago
0
dotnet

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

Koray Bilgi, Text-Regex
Submitted by anonymous - 2 days ago
-1
dotnet

MMM DDD YYYY

FEB MON 2023
Submitted by anonymous - 2 days ago
0
pcre

User-Agent

Parser
Submitted by sn3kdev - 6 days ago
0
pcre

Parcing2

aa
Submitted by anonymous - 8 days ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 8 days ago
0
dotnet

Match IPv4 Valid

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

NMEA after timestamps

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

Get h1-6 tag

(.*?)
Submitted by OlegBel - 22 days ago

Semantic Version (semver)

Vote

0

Regular Expression
dotnet

"
^(?<major>0|[1-9]\d*)\.(?<minor>0|[1-9]\d*)\.(?<patch>0|[1-9]\d*)(?:-(?<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
"
gm

Description

Loading markdown...
Submitted by semver.org,Jeff Jacobson - 3 months ago