Regular Expressions 101

Sponsors

Library entries

0
dotnet

Username regex

Matches alphanumeric, @, . , -
Submitted by Ethan Pedersen - 7 months ago
0
dotnet

sdfsfd

sdfdsf
Submitted by anonymous - 7 months ago
0
dotnet

Any WhiteSpace Character

Any WhiteSpace Character
Submitted by anonymous - 7 months ago
0
dotnet

custom email

custom email
Submitted by anonymous - 7 months ago
0
dotnet

7zip file type regex

header of output from > 7z i
Submitted by ninmonkey - 7 months ago
0
dotnet

title and page

find title and page in text
Submitted by anonymous - 7 months ago
0
dotnet

IP Table Parse IPID

Match 1 is the IPID
Submitted by Tres Little - 6 months ago
0
dotnet

URL

(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by anonymous - 6 months ago
0
dotnet

Initials

get the initial of a strings
Submitted by Eddie Choong - 5 months ago
2
dotnet

Replace sub-strings in string

Replace sub-strings in string
Submitted by anonymous - 3 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 - 8 months ago