Regular Expressions 101

Community Patterns

0

<5.2.28

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

ip

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

Apache access log columnizer

0

Regular Expression
PCRE (PHP <7.3)

/
(?'DataEOra'[0-9\-:\s]{19})(?'Local_IP'[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}) - (?'PREDICATE'[A-Za-z]{4}) (?'url'[a-zA-Z\/]{1,50}) - (?'PORT'[0-9]{1,3}) - (?'remote_IP'[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}) (?'Protocol'[A-Za-z0-9.\/]{5,10})
/
gm

Description

Loading markdown...
Submitted by anonymous - 4 years ago