Regular Expressions 101

Sponsors

Library entries

0
javascript

printer messages parser

prase messages from printers
Submitted by anonymous - 4 years ago
0
python

rutracker markdown parser

no description available
Submitted by anonymous - 4 years ago
0
javascript

js email

no description available
Submitted by anonymous - 4 years ago
0
golang

Parse fields of SQL Dump

no description available
Submitted by anonymous - 4 years ago
0
golang

Parse tables in SQL Dump

no description available
Submitted by anonymous - 4 years ago
0
golang

Table Stage Two

no description available
Submitted by anonymous - 4 years ago
0
golang

Table Stage 1

no description available
Submitted by anonymous - 4 years ago
0
javascript

username rule follower

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

Sequanse correct checker

no description available
Submitted by anonymous - 4 years ago
0
javascript

ISO Date Format

no description available
Submitted by anonymous - 4 years ago
0
javascript

iso8601 duration

no description available
Submitted by anonymous - 4 years ago
0
javascript

iso8601 duration

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

html table

match an html table suffs
Submitted by anonymous - 4 years ago
0
python

XML

no description available
Submitted by anonymous - 4 years ago
0
javascript

Javascript - rgb / rgba

no description available
Submitted by anonymous - 4 years ago
0
javascript

中文字符

只包含中文字,包含标点符号
Submitted by anonymous - 4 years ago
0
javascript

中文字

只包含中文字,不包含标点符号
Submitted by anonymous - 4 years ago
0
javascript

Extract milliseconds from output

no description available
Submitted by anonymous - 4 years ago

Simplified nginx access log filter with group name

Vote

0

Regular Expression
python

"
(?P<remote_addr>(?:^|\b(?<!\.))(?:1?\d\d?|2[0-4]\d|25[0-5])(?:\.(?:1?\d\d?|2[0-4]\d|25[0-5])){3}(?=$|[^\w.]))\s-\s(?P<remote_usr>-|[a-z_][a-z0-9_]{0,30})\s(?P<date_time>\[(?P<date>[0-2][0-9]\/\w{3}\/[12]\d{3}):(?P<time>\d\d:\d\d:\d\d).*\])\s(?P<request>\"(?P<req_method>GET|POST|HEAD|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s(?P<req_uri>\/[^\s]*)\s(?P<http_ver>HTTP/\d\.\d)\")\s(?P<status>\d{3})\s(?P<body_byte_sent>\d+)\s\"(?P<http_referer>[^\s]+)\"\s\"(?P<user_agent>[^\"]+)\"\s\"(?P<forward_for>[^\"]+)\"
"

Description

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