Regular Expressions 101

Community Patterns

0

TXN ID

PCRE2 (PHP >=7.3)
VIL ID
Submitted by anonymous - 10 months ago
0

partnkey value

Java 8
Extract value partn_key
Submitted by anonymous - 10 months ago
0

正则提取

PCRE2 (PHP >=7.3)
ss
Submitted by sss - 10 months ago
0

id

PCRE2 (PHP >=7.3)
getid
Submitted by anonymous - 10 months ago
0

id

PCRE2 (PHP >=7.3)
getid
Submitted by anonymous - 10 months ago
0

routes

PCRE2 (PHP >=7.3)
routes
Submitted by anonymous - 10 months ago
0

Identifier Regex

Java 8
Regex for identifiers
Submitted by anonymous - 10 months ago

AEM - Author & Publisher - access.log - REGEX for SPLUNK fields

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(?P<req_ip>^[\d\.]+)\s+(?P<req_identity>.+?)\s+(?P<req_user>.+?)\s+(?P<req_date>.+?)\s+(?P<req_offset>.+?)\s+"(?P<req_method>.+?)\s+(?P<req_path>.+?)\s+(?P<req_protocoll>.+?)"\s+(?P<req_code>.+?)\s+(?P<req_size>.+?)\s+"(?P<req_referer>.+?)"\s+"(?P<req_device>.+?)"
/
gm

Description

Loading markdown...
Submitted by Robert Wunsch (wunsch@adobe.com) - a year ago