Regular Expressions 101

Sponsors

Library entries

0
pcre2

Include non-whitespace

Prevents whitespace only string
Submitted by anonymous - 18 days ago
0
python

US Stock Exchange symbols

Regex for Telegram Bot
Submitted by Lucas Zurverra - 18 days ago
0
pcre2

reset1

reset1
Submitted by anonymous - 18 days ago
0
pcre2

reset

reset
Submitted by anonymous - 19 days ago
0
pcre2

reset capture

reset capture
Submitted by anonymous - 19 days ago
0
pcre2

conditional

conditional
Submitted by anonymous - 19 days ago
0
pcre2

datetime?

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

4 Digits 3 Decimals

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

enum fields to enum mapping

.
Submitted by DenKu1 - 20 days ago
0
pcre2

Print

Print
Submitted by anonymous - 21 days 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) - 2 months ago