Regular Expressions 101

Community Patterns

0

XML

Python
no description available
Submitted by anonymous - 5 years ago
0

html table

Python
match an html table suffs
Submitted by anonymous - 5 years ago
0

Hw4 Q4

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 5 years ago
0

HGam mxAOD

Python
no description available
Submitted by anonymous - 5 years ago

Nginx Log Parsing

0

Regular Expression
PCRE (PHP <7.3)

/
^(?<x_forwarded_for>(?:[0-9:.-]*, )?(?<clientip>[0-9:.-]*)) (?<ident>[^ ]*) (?<auth>[^ ]*) \[(?<time>[^\]]*)\] "(?<verb>\S+)(?: +(?<request>[^\"]*?)(?: +(?<httpversion>\S*))?)?" (?<response>[^ ]*) (?<bytes>[^ ]*) "(?<referer>[^\"]*)" "(?<agent>[^\"]*)" "(?<request_time>[^\"]*)" "(?<host>[^\"]*)(?::(?<host_port>\S+))?"(?: ATI:"(?<amazn_trace_id>[^\"]*)")?(?: "(?<hdr_location>[^\"]*)" "(?<request_length>[^\"]*)")?(?: "(?<tls_version>[^\/]*)\/(?<tls_cipher>[^\"]*)")?(?: trace_id:"(?<a0_request_id>[^\"]*)")?$
/

Description

Loading markdown...
Submitted by anonymous - 4 years ago