Regular Expressions 101

Sponsors

Library entries

0
golang

super regex

Get every word ending with dot using Regex/VBA
Submitted by anonymous - 12 days ago
0
golang

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 3 months ago
1
golang

1

11
Submitted by anonymous - 3 months ago
0
golang

nginx access regex loki

nginx access log regex
Submitted by Lethisa Putri - 4 months ago
0
golang

匹配邮箱

[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by Lintao - 7 months ago
0
golang

Golang Docker matcher

Used by me for docker-retagger
Submitted by Roman Minebaev - 7 months ago
0
golang

Jira issue number

Matches and catches Jira issue number
Submitted by anonymous - 7 months ago
0
golang

find email addresses

find email addresses
Submitted by anon - 8 months ago
0
golang

Split words in brackets

Split words in brackets
Submitted by ugurakcil - 10 months ago

extended nginx log format

Vote

0

Regular Expression
pcre

/
(?:-|(?P<real_ip>[\-\da-f.:, ]+)) - (?<remote_user>\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<remote_ip>[\da-f.:]+)" (?:\-|(?P<upstream_response_time>\d+(?:.\d+)?))\s+(?P<request_time>\d+(?:.\d+)?) (?P<pipe>[\.p])
/
gm

Description

Loading markdown...
Submitted by Pei-Tang Huang - 4 months ago