Regular Expressions 101

Community Patterns

MYV_POSTPAY_ACCESSLOG

1

Regular Expression
PCRE (PHP <7.3)

/
^(?<hostip>[^ ]+) - - \[(?<timestamp>[^ ]+\s-\d+)\] "(?<method>[^ ]+)\s(?<request>[^ ]+) HTTP\/\d\.\d"\s(?<response>\d+)\s(?<size>\d+)$
/
gm

Description

no description available

Submitted by anonymous - 9 years ago