Regular Expressions 101

Sponsors

Library entries

0
pcre2

Print

Print
Submitted by anonymous - 13 days ago
0
pcre2

dc/i

特定の文字移行続く
Submitted by anonymous - 13 days ago
0
javascript

date format

relative date format
Submitted by anonymous - 14 days ago
0
pcre2

DADOS

CAPTURAR
Submitted by anonymous - 14 days ago
0
pcre2

title

title
Submitted by anonymous - 14 days ago
0
pcre2

Template regex

Template
Submitted by anonymous - 17 days ago
1
javascript

Matching CSS Properties

CSS Properties
Submitted by Luidenka - 17 days 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) - 2 months ago