Regular Expressions 101

Sponsors

Library entries

0
pcre2

Validate url data descriptor

For internal purposes
Submitted by Daniel Bañobre - 4 months ago
0
pcre2

cloze_list_depth_1

Submitted by anonymous - 4 months ago
0
pcre2

day of week sorter type thingy

rando desc
Submitted by anonymous - 4 months ago
0
pcre2

Visa card regex

Visa card regex
Submitted by anonymous - 4 months ago
0
pcre2

MAC address

MAC address supporting various formats
Submitted by anonymous - 4 months ago
0
pcre2

首行首个单词

匹配首行首个单词
Submitted by anonymous - 4 months ago

AEM access.log - field extraction for SPLUNK

Vote

0

Regular Expression
pcre2

/
^(?<aem_access_remote_ip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\s(?<aem_access_domain>\S+)\s(?<aem_access_user>\S+)\s(?<aem_access_date>\S[^:]+):(?<aem_access_bytes_out>\S+)\s(?<aem_access_GMT_offset>[^ ]+)\s"(?<aem_access_request_method>[^ ]+)\s(?<aem_access_request_path>[^ ]+)\s(?<aem_access_request_protocol>[^ ]+)"\s(?<aem_access_status_code>[^ ]+)\s(?<aem_access_request_duration>[^ ]+)\s"(?<aem_access_referrer>[^ ]+)"\s"(?<aem_access_user_agent>.*)"
/
gm

Description

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