Regular Expressions 101

Sponsors

Library entries

0
pcre

php comment

no description available
Submitted by anonymous - 8 years ago
1
pcre

Parse drupal version info from filename

no description available
Submitted by Jason Smith - 8 years ago
-4
javascript

email

no description available
Submitted by public - 8 years ago
-2
pcre

Match v4 IP address

no description available
Submitted by Budiony Damyanov - 8 years ago
-3
pcre

DateTime YYYY-MM-DD hh:mm:ss

no description available
Submitted by Madhan - 8 years ago
4
pcre

Hungarian ANDOK system id

no description available
Submitted by Tana - 8 years ago
6
pcre

ID003 device info

no description available
Submitted by sasjaq - 8 years ago
-2
pcre

[A-Z]+[a-z]{1,2}[0-9]*

no description available
Submitted by anonymous - 8 years ago
-3
python

Just IP

ip address
Submitted by whoyas2 - 8 years ago
1
javascript

Find UnCommented Console. Code

no description available
Submitted by Jay Johnson - 8 years ago
-2
pcre

A masz!

no description available
Submitted by Ja - 8 years 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 - 7 months ago