Regular Expressions 101

Sponsors

Library entries

0
pcre2

GS1-128 and RegEx

Parse the 3 groups of a GS1-128 Barcode
Submitted by Mike D - 6 days ago
0
javascript

Currency

Currency
Submitted by jerryd - 6 days ago
0
pcre2

Dafne

.NSO.HORDIN_XMLDAFNEV..xml
Submitted by Dorino - 7 days ago
0
pcre2

12 hours regex

Define hour at 12 hours
Submitted by anonymous - 7 days ago
0
pcre2

Hour regex

Define 24 hour format
Submitted by anonymous - 7 days ago
0
pcre2

Model Code validator

Check the modelCode for iOS/iPadOS devices
Submitted by ppeelen - 8 days ago
0
pcre2

regex

remove pun
Submitted by anonymous - 8 days ago
0
pcre2

测试

竭莹用于在json中寻找评论的正则表达式
Submitted by anonymous - 11 days ago
0
pcre2

Include non-whitespace

Prevents whitespace only string
Submitted by anonymous - 11 days ago
0
pcre2

reset1

reset1
Submitted by anonymous - 12 days ago
0
pcre2

reset

reset
Submitted by anonymous - 12 days ago
0
pcre2

reset capture

reset capture
Submitted by anonymous - 12 days ago
0
pcre2

conditional

conditional
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) - 2 months ago