Regular Expressions 101

Community Patterns

0

logs

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 6 years ago
0

USD

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 6 years ago
0

image cid

Golang
no description available
Submitted by anonymous - 6 years ago
0

Email

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 6 years ago

RFC-1034- and RFC-2181-compliant FQDN extractor

1

Regular Expression
PCRE (PHP <7.3)

/
\|\K(?=.{1,253}\|)(?!.*--.*)(?P<fqdn>(?:(?!-)(?![0-9])[a-zA-Z0-9-]{1,63}(?<!-)\.){1,}(?:(?!-)[a-zA-Z0-9-]{1,63}(?<!-)))\|
/
gm

Description

Loading markdown...
Submitted by 0jag - 7 years ago