Regular Expressions 101

Sponsors

Library entries

0
dotnet

Script Tag Json

asd
Submitted by anonymous - 10 months ago
0
dotnet

篩選MP Log Day

篩選MP Log Day
Submitted by anonymous - 10 months ago
0
dotnet

E-mail

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

Ipv4 with optional port

ipv4 with optional port
Submitted by anonymous - 7 months ago
0
dotnet

No leading or trailing spaces

No leading or trailing spaces
Submitted by anonymous - 7 months ago
0
dotnet

Nepali phone number regex

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

Guid parser

Guid parser
Submitted by anonymous - 7 months ago

ISO 8601:2004E Duration

Vote

0

Regular Expression
dotnet

"
^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 - 6 months ago