Regular Expressions 101

Sponsors

Library entries

0
pcre

Alles nach *! finden

no description available
Submitted by anonymous - 2 years ago
0
pcre

canada postal code validation

no description available
Submitted by anonymous - 2 years ago
0
pcre

canada postal code validation

no description available
Submitted by anonymous - 2 years ago
0
pcre

week1

no description available
Submitted by anonymous - 2 years ago
0
python

UF Brasil

no description available
Submitted by anonymous - 2 years ago
0
python

CNPJ Brasileiro

Identifica CNPJ
Submitted by anonymous - 2 years ago
0
pcre

Encontra Latex

no description available
Submitted by anonymous - 2 years ago
0
pcre

Prizm/GUDID to CKMS Character Removal

no description available
Submitted by anonymous - 2 years ago
0
pcre

eeprom block_list

no description available
Submitted by anonymous - 2 years ago
0
python

payment b_side

no description available
Submitted by anonymous - 2 years ago
0
python

CreateTesterPreset

no description available
Submitted by anonymous - 2 years ago
0
pcre

shipping rules

no description available
Submitted by anonymous - 2 years ago
0
pcre

complex password validator

no description available
Submitted by anonymous - 2 years ago
0
python

Last word in a string

no description available
Submitted by anonymous - 2 years ago

lnav nginx access_log parser (for a slightly extended variation of combined log format)

Vote

1

Regular Expression
pcre

/
(?:-|(?P<real_ip>[\-\da-f.:]+))\s+\[(?P<remote_ip>[\da-f.:]+)\]\s+[\w\.\-]+\s+(?<remote_user>\S+)\s+\[(?<timestamp>[^\]]+)\]\s+"(?:\-|(?<request>\w+) (?<request_uri>[^ \?]+)(?:\?(?<request_uri_query>[^ ]*))? (?<request_version>[\w\/\.]+))"\s+(?P<status>[1-9]\d{2})\s+(?P<body_bytes_sent>\d+)\s+"(?<http_referer>[^"]+)"\s+"(?<http_user_agent>[^"]+)"\s+\[(?:\-|(?P<upstream_response_time>\d+(?:.\d+)?))\s+(?P<request_time>\d+(?:.\d+)?)\]
/
gm

Description

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