Regular Expressions 101

Sponsors

Library entries

0
pcre2

conventional commits @ CJ

Custom conventional commits parsing.
Submitted by anonymous - 2 years ago
0
pcre2

addrestest

address java
Submitted by anonymous - 2 years ago
0
pcre2

Float

Save float point number.
Submitted by anonymous - 2 years ago
0
java

OmegaT exercises

OmegaT exercises
Submitted by msoutopico - 2 years ago
0
pcre2

Migros_brackets

Migros brackets
Submitted by anonymous - 2 years ago
0
pcre2

IBAN Search

with white space and capitals
Submitted by anonymous - 2 years ago

AEM - Author & Publisher - request.log - RegEx for SPLUNK fields

Vote

0

Regular Expression
pcre2

/
(?P<request_date>^[\w\/\:]+)\s+(?P<request_offset>[\d\+]+)\s+\[(?P<request_id>.+)\]\s+(?P<request_inout>[\-\>\<]+)\s+((?P<request_method>[GET|POST|HEAD|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH]+)?\s+(?P<request_path>[^;][^;][a-zA-Z0-9\/\_\-\.\=\@\:\%\+\~\#\?\&\{\}\[\]\|]+)\s+(?P<request_protocol>.+)\s+|(?P<request_code>\d+)\s+(?P<request_filetype>.+)\s+(?P<request_duration>[\d\w]+)\s+)
/
gm

Description

Loading markdown...
Submitted by Robert Wunsch - 2 years ago