Regular Expressions 101

Library entries

0
dotnet

Guid parser

Guid parser
Submitted by anonymous - a year ago
0
dotnet

Nepali phone number regex

(\+977)?9\d{8}
Submitted by anonymous - a year ago
0
dotnet

No leading or trailing spaces

No leading or trailing spaces
Submitted by anonymous - a year ago
0
dotnet

Ipv4 with optional port

ipv4 with optional port
Submitted by anonymous - a year ago
0
dotnet

Match using named groups in .NET (C#)

Developed for posh-git
Submitted by marckassay - a year ago
0
dotnet

E-mail

My first simple e-mail validator regex :)
Submitted by anonymous - a year ago
0
dotnet

篩選MP Log Day

篩選MP Log Day
Submitted by anonymous - a year 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 - 6 months ago