Regular Expressions 101

Sponsors

Library entries

0
dotnet

URL

(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by anonymous - 2 days ago
1
java

phone number middle number parsing

middle number parsing regex
Submitted by anonymous - 9 days ago
0
java

Verify email

Regex for email
Submitted by anonymous - 11 days ago
0
dotnet

IP Table Parse IPID

Match 1 is the IPID
Submitted by Tres Little - 16 days ago
0
golang

S3 Path with ending .json

S3 Path with ending .json
Submitted by Sowmith - 20 days ago
0
dotnet

title and page

find title and page in text
Submitted by anonymous - a month ago
0
dotnet

7zip file type regex

header of output from > 7z i
Submitted by ninmonkey - a month ago
0
dotnet

custom email

custom email
Submitted by anonymous - a month ago
1
golang

1

11
Submitted by anonymous - a month ago
0
java

for-orth

For orth
Submitted by gastipatis - a month ago
0
dotnet

Any WhiteSpace Character

Any WhiteSpace Character
Submitted by anonymous - a month ago
0
java

Inner field values extraction

Inner field values extraction
Submitted by anonymous - 2 months ago
0
java

Key - Value extractor

Key - Value extractor
Submitted by anonymous - 2 months ago
0
dotnet

sdfsfd

sdfdsf
Submitted by anonymous - 2 months 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