Regular Expressions 101

Library entries

0
dotnet

篩選MP Log Day

篩選MP Log Day
Submitted by anonymous - a year ago
0
dotnet

E-mail

My first simple e-mail validator regex :)
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

Ipv4 with optional port

ipv4 with optional port
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

Nepali phone number regex

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

Guid parser

Guid parser
Submitted by anonymous - a year ago

Mime type parser

Vote

1

Regular Expression
dotnet

@"
(?<type>\w*)\/(?<subtype>[\w\.-]*)(?:\+(?<subtype>[\w\.-]*))?(?:;(?:(?<key>.+)=(?<value>.*);)*(?<key>.+)=(?<value>.*))?
"
g

Description

Loading markdown...
Submitted by Vespion - 3 months ago