Regular Expressions 101

Community Patterns

0

Guid parser

.NET 7.0 (C#)
Guid parser
Submitted by anonymous - 2 years ago
0

sdfsfd

.NET 7.0 (C#)
sdfdsf
Submitted by anonymous - 2 years ago
0

custom email

.NET 7.0 (C#)
custom email
Submitted by anonymous - a year ago

ISO 8601:2004E Duration

1

Regular Expression
.NET 7.0 (C#)

@"
^P(?!$)(?:(?<years>\d+(?:\.\d+)?)Y)?(?:(?<months>\d+(?:\.\d+)?)M)?(?:(?<weeks>\d+(?:\.\d+)?)W)?(?:(?<days>\d+(?:\.\d+)?)D)?(T(?=\d)(?:(?<hours>\d+(?:\.\d+)?)H)?(?:(?<minutes>\d+(?:\.\d+)?)M)?(?:(?<seconds>\d+(?:\.\d+)?)S)?)?$
"
gmx

Description

Loading markdown...
Submitted by Sakura Akeno Isayeki - 2 years ago