Regular Expressions 101

Community Patterns

Community Library Entry

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

no description available

Submitted by anonymous - 6 years ago