Regular Expressions 101

Sponsors

Library entries

1
javascript

Add ngInject to all files

no description available
Submitted by anonymous - 7 years ago
1
javascript

add ngInject

no description available
Submitted by anonymous - 7 years ago
1
javascript

RGX lj-ARRAY

RGX lj-ARRAY
Submitted by LJARRAY - 7 years ago
1
python

grab value from json

no description available
Submitted by anonymous - 7 years ago
1
python

pull version number

no description available
Submitted by anonymous - 7 years ago
1
python

BigTimeRegex2

no description available
Submitted by anonymous - 7 years ago
1
python

BigTimeRegex3

no description available
Submitted by anonymous - 7 years ago
1
python

a

no description available
Submitted by anonymous - 7 years ago
1
python

HTML tag search

finds the common html tags
Submitted by Henri Mulder - 7 years ago
1
javascript

match directory paths with names

crazy rhumbl regex for build
Submitted by luwenh - 7 years ago
1
python

re

no description available
Submitted by anonymous - 7 years ago
1
python

xref phone number

no description available
Submitted by anonymous - 7 years ago
1
javascript

International Phone Codes

no description available
Submitted by anonymous - 7 years ago
1
javascript

IBAN

The complete regex for IBAN numbers
Submitted by anonymous - 7 years ago
1
javascript

dd

no description available
Submitted by anonymous - 7 years ago
1
javascript

76.7877

no description available
Submitted by anonymous - 7 years ago
1
python

RUBROS

no description available
Submitted by anonymous - 7 years ago
1
javascript

E-mail validation

no description available
Submitted by anonymous - 7 years ago

Docker image tag with named groups

Vote

1

Regular Expression
javascript

/
^(:(=[^:\/]{4,253})(?!-)[a-zA-Z0-9-]{1,63}(?<!-)(?:\.(?!-)[a-zA-Z0-9-]{1,63}(?<!-))*(?::[0-9]{1,5})?\/)?(?<image>(?![._-])(?:(?:[a-z0-9._-]*(?::[0-9]{1,5})?))(?<![._-])(?:\/(?![._-])[a-z0-9._-]*(?<![._-]))*)(?:(?<tag>(?::(?![.-])[a-zA-Z0-9_.-]{1,128}))|(?<sha>@sha256:[0-9a-f]{64}))?$
/

Description

Loading markdown...
Submitted by petersamokhin with help from https://stackoverflow.com/questions/39671641 - 4 months ago