Regular Expressions 101

Community Patterns

0

Barcode Regex

PCRE2 (PHP >=7.3)
Barcode Regex
Submitted by anonymous - a year ago
0

optional

PCRE2 (PHP >=7.3)
optional
Submitted by anonymous - a year ago
0

ASD

PCRE (PHP <7.3)
HI
Submitted by anonymous - a year ago

Non-prod Application Log Regex

1

Regular Expression
PCRE (PHP <7.3)

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

Description

Loading markdown...
Submitted by Aditya Bindra - 8 years ago