Regular Expressions 101

Community Patterns

1

Kafka loki parser

Golang
Kafka loki parser
Submitted by anonymous - 4 months ago
1

ActivityWatcher

.NET 7.0 (C#)
sda
Submitted by anonymous - a month ago
1

Flexible box

Golang
no description available
Submitted by anonymous - 4 years ago
1

Lxx Wurzel

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

FB payload

Golang
no description available
Submitted by anonymous - 4 years ago

Extract URL parts only named capturing groups

3

Regular Expression
Golang

`
^(?P<scheme>[^:\/?#]+):(?:\/\/)?(?:(?:(?P<login>[^:]+)(?::(?P<password>[^@]+)?)?@)?(?P<host>[^@\/?#:]*)(?::(?P<port>\d+)?)?)?(?P<path>[^?#]*)(?:\?(?P<query>[^#]*))?(?:#(?P<fragment>.*))?
`
gm

Description

Loading markdown...
Submitted by dixanms - 2 years ago