Regular Expressions 101

Sponsors

Library entries

-1
dotnet

MMM DDD YYYY

FEB MON 2023
Submitted by anonymous - a day ago
0
java

Fund - Arriving in Kathmandu

Simple regex for Softuni
Submitted by anonymous - 2 years ago
0
java

笔试

笔试字符串检查regex
Submitted by bgst009 - 2 years ago
0
java

Alien Registration Number

Alien Registration Number
Submitted by anonymous - 2 years ago
0
java

OmegaT exercises

OmegaT exercises
Submitted by msoutopico - 2 years ago
0
java

Email Regex

Regex to capture email from Text
Submitted by Suman Maharjan - 2 years ago
0
java

my regex

test
Submitted by anonymous - 2 years ago
0
java

Kotlin FTP Proto Check

ftpProtoCheck
Submitted by anonymous - 2 years ago
0
java

Password in java

password in java
Submitted by anonymous - 2 years 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