Regular Expressions 101

Library entries

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