Regular Expressions 101

Sponsors

Library entries

2
dotnet

Replace sub-strings in string

Replace sub-strings in string
Submitted by anonymous - 3 months ago
1
golang

Siebel Id

no description available
Submitted by anonymous - 6 years ago
1
golang

lsblk-output-regex

Trying to adapt this regex to support LVM.
Submitted by anonymous - 2 years ago
1
golang

SQL comments Big Query

SQL comments on Big Query
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 - 8 months ago