Regular Expressions 101

Community Patterns

0

Test Function Block

PCRE2 (PHP >=7.3)
Test
Submitted by anonymous - 2 years ago
0

Pan Number

PCRE2 (PHP >=7.3)
Pan Number
Submitted by anonymous - 2 years ago
0

Money format

PCRE2 (PHP >=7.3)
Any money format
Submitted by anonymous - 2 years ago
0

IP Address

Java 8
IP Address RegEx
Submitted by anonymous - 2 years ago

Semantic Version (semver)

0

Regular Expression
.NET 7.0 (C#)

@"
^(?<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 - a year ago