Regular Expressions 101

Sponsors

Library entries

0
pcre2

Validate url data descriptor

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

cloze_list_depth_1

Submitted by anonymous - 5 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 - Author & Publisher - error.log - RegEx for SPLUNK fields

Vote

0

Regular Expression
pcre2

/
(?P<error_date>^[\w\/\.]+)\s+(?P<error_time>[\w\/\.\:]+)\s+\*(?P<error_level>\w+)\*\s+\[((?P<error_ip>[\d\.]+)\s+\[(?P<error_thread_id>.+)\]\s+(?P<error_request_method>\w+)\s+(?P<error_urlpath>.+)\s+(?P<error_req_protocol>.+)|(?P<error_thread>.+?))\]\s+(?P<error_message>.+[\n]?.+)
/
gm

Description

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