Regular Expressions 101

Sponsors

Library entries

0
pcre2

reset1

reset1
Submitted by anonymous - 14 days ago
0
pcre2

reset

reset
Submitted by anonymous - 15 days ago
0
pcre2

reset capture

reset capture
Submitted by anonymous - 15 days ago
0
pcre2

conditional

conditional
Submitted by anonymous - 15 days ago
0
pcre2

datetime?

Attempt at datetime parsing
Submitted by anonymous - 15 days ago
0
pcre2

4 Digits 3 Decimals

4 Digits 3 Decimals
Submitted by anonymous - 16 days ago
0
pcre2

enum fields to enum mapping

.
Submitted by DenKu1 - 16 days ago
0
dotnet

Enum map to test cases

.
Submitted by DenKu1 - 16 days ago
0
pcre2

Print

Print
Submitted by anonymous - 17 days ago

AEM - Author & Publisher - access.log - RegEx for SPLUNK fields (fi2Bmn/1)

Vote

0

Regular Expression
pcre2

/
(?P<req_ip>^[\d\.]+)\s+(?P<req_identity>.+?)\s+(?P<req_user>.+?)\s+\[(?P<req_date>.+?)\]\s+"(?P<req_method>.+?)\s+(?P<req_path>.+?)\s+(?P<req_protocoll>.+?)"\s+(?P<req_code>.+?)\s+(?P<req_size>.+?)\s+"(?P<req_referer>.+?)"\s+"(?P<req_device>.+?|)"
/
gm

Description

Loading markdown...
Submitted by Robert Wunsch (wunsch@adobe.com) - 2 months ago