Regular Expressions 101

Sponsors

Library entries

0
pcre2

Time Hint

Regex for detecting common date/time formats.
Submitted by Gyen - 18 days ago
1
pcre2

aadhar number

Finds Aadhar number from given string
Submitted by anonymous - 19 days ago
0
pcre2

nextflow

nextflow grammer
Submitted by anonymous - 20 days ago
1
pcre2

find all url in <a> in html

for tp
Submitted by anonymous - 20 days ago
1
pcre2

find text in html

for tp
Submitted by anonymous - 20 days ago
1
python

surnames

italian uppercase surnames
Submitted by anonymous - 20 days ago
0
python

AyL

Example of re and substitutions with csv file
Submitted by Ing Daniel Pérez - 20 days ago
0
dotnet

title and page

find title and page in text
Submitted by anonymous - 21 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