Regular Expressions 101

Sponsors

Library entries

0
pcre2

Slurs

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

partnkey value

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

正则提取

ss
Submitted by sss - 8 days ago
0
pcre2

e-mail regex

Validates an email address
Submitted by anonymous - 8 days ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 8 days ago
0
pcre2

id

getid
Submitted by anonymous - 9 days ago
0
pcre2

id

getid
Submitted by anonymous - 9 days ago
0
pcre2

aff url normalize

conevrt url
Submitted by anonymous - 10 days ago
0
pcre

amazIng regex

super
Submitted by anonymous - 10 days ago
0
pcre2

Date time ISO_8601 Pattern

credits to Sayooj V R
Submitted by anonymous - 10 days ago
0
pcre2

routes

routes
Submitted by anonymous - 11 days ago
0
java

Identifier Regex

Regex for identifiers
Submitted by anonymous - 11 days ago
1
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 12 days ago

AEM - Author & Publisher - access.log - RegEx for SPLUNK fields (fi2Bmn/1)

Vote

0

Regular Expression
pcre2

/
(?P<req_ip>^[\d\.]+)\s+(?P<req_identity>.+?)\s+(?P<req_user>.+?)\s+\[(?P<req_date>.+?)\]\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) - 2 months ago