Regular Expressions 101

Sponsors

Library entries

0
pcre2

Validation

^a-zA-Z+@[a-zA-Z]{3,20}\.[a-z]{3}$
Submitted by anonymous - 2 days ago
0
pcre2

Password

Password includes a,A,1,!$#%
Submitted by anonymous - 4 days ago
0
pcre2

长宽高

长宽高
Submitted by mouxan - 5 days ago
0
pcre2

match extends in a class

to match extends in a class
Submitted by anonymous - 5 days ago
0
pcre2

implements Regex

To match implements in classes
Submitted by anonymous - 5 days ago
0
pcre2

AWS EC2 Hostname

Validates AWS EC2 Hostnames
Submitted by holy-moly-555 - 6 days ago
0
pcre2

Date dd.mm.yyyy

Regex for datestring validation
Submitted by anonymous - 6 days ago
0
pcre2

Equifax street types parser

Street types
Submitted by anonymous - 6 days ago
0
pcre2

stage build checker

stage build checker
Submitted by anonymous - 6 days ago
0
pcre2

estoque_bling_regex

Regex xml stock Bling
Submitted by Dimitri - 7 days ago

Parse Docker image reference components (URI / tag / name / registry / host)

Vote

0

Regular Expression
javascript

/
^(?<Name>(?<=^)(?:(?<Domain>(?:(?:localhost|[\w-]+(?:\.[\w-]+)+)(?::\d+)?)|[\w]+:\d+)\/)?\/?(?<Namespace>(?:(?:[a-z0-9]+(?:(?:[._]|__|[-]*)[a-z0-9]+)*)\/)*)(?<Repo>[a-z0-9-]+))[:@]?(?<Reference>(?<=:)(?<Tag>[\w][\w.-]{0,127})|(?<=@)(?<Digest>[A-Za-z][A-Za-z0-9]*(?:[-_+.][A-Za-z][A-Za-z0-9]*)*[:][0-9A-Fa-f]{32,}))?
/
gm

Description

Loading markdown...
Submitted by https://github.com/Propolisa - 9 months ago