Regular Expressions 101

Library entries

0
dotnet

Any WhiteSpace Character

Any WhiteSpace Character
Submitted by anonymous - 9 months ago
0
dotnet

custom email

custom email
Submitted by anonymous - 9 months ago
0
dotnet

7zip file type regex

header of output from > 7z i
Submitted by ninmonkey - 9 months ago
0
dotnet

title and page

find title and page in text
Submitted by anonymous - 9 months ago
0
dotnet

IP Table Parse IPID

Match 1 is the IPID
Submitted by Tres Little - 8 months ago
0
dotnet

URL

(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by anonymous - 8 months ago
0
dotnet

Initials

get the initial of a strings
Submitted by Eddie Choong - 7 months ago
1
dotnet

Aus Mobile number

validates against multiple common formats
Submitted by anonymous - 2 months 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