Regular Expressions 101

Sponsors

Library entries

0
pcre

Spotify ID regex

Spotify ID regex
Submitted by anonymous - an hour ago
0
javascript

https

https
Submitted by anonymous - 19 hours ago
0
pcre

helix word motion

helix word motion
Submitted by anonymous - 3 days ago
0
pcre

Kafka topic name regex

Kafka topic name regex
Submitted by anonymous - 4 days ago
1
javascript

Regex for url

Regex for url
Submitted by anonymous - 5 days ago
1
javascript

RegEX IBAN SEPA with spaces

RegEX IBAN SEPA with spaces
Submitted by Karim MB - 8 days ago
1
javascript

js获取url上的参数

/(+)=(+)/gm
Submitted by anonymous - 9 days ago
1
javascript

中文匹配

本示例启用了多行匹配 m
Submitted by yang - 13 days ago
0
javascript

cuts amazon url

with a url of aws cuts the url
Submitted by d3w3r - 17 days ago
0
javascript

regex text inside html tag

regex
Submitted by anonymous - 19 days ago
0
pcre

https://regex101.com/r/VrZHR8/1

https://regex101.com/r/VrZHR8/1
Submitted by anonymous - 19 days ago

nginx access regex loki

Vote

0

Regular Expression
golang

`
(?P<remote_addr>((?:[0-9]{1,3}\.){3}[0-9]{1,3})) (?P<dash>\S+) (?P<remote_user>\S+) \[(?P<time_local>[\w:\/]+\s[+|-]\d{4})\] \"(?P<request>\S+)\s?(?P<path>\S+)?\s?(?P<protocol>\S+)?\" (?P<status_code>\d{3}|-) (?P<body_bytes_sent>\d+|-)\s?\"?(?P<http_referer>[^\"]*)\"?\s\"?(?P<http_user_agent>[^\"]*)\"\s\"?(?P<http_x_forwarded_for>[^\"]*)
`
gm

Description

Loading markdown...
Submitted by Lethisa Putri - 2 months ago