Regular Expressions 101

Sponsors

Library entries

0
pcre2

Vivaldi

Vivaldi
Submitted by anonymous - 6 days ago
0
python

ipv4 addresses

Valid ip addreses
Submitted by anonymous - 7 days ago
0
pcre2

TXN ID

VIL ID
Submitted by anonymous - 8 days ago
0
pcre2

Slurs

Not made with ill intentions.
Submitted by anonymous - 10 days ago
0
java

partnkey value

Extract value partn_key
Submitted by anonymous - 10 days ago
0
pcre2

正则提取

ss
Submitted by sss - 10 days ago
0
pcre2

e-mail regex

Validates an email address
Submitted by anonymous - 10 days ago
0
pcre2

id

getid
Submitted by anonymous - 11 days ago
0
pcre2

id

getid
Submitted by anonymous - 11 days ago
0
pcre2

aff url normalize

conevrt url
Submitted by anonymous - 12 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) - 3 months ago