Regular Expressions 101

Sponsors

Library entries

0
golang

test

no description available
Submitted by anonymous - 2 years ago
0
golang

KDE_Converter_Runner_Regex

WIP
Submitted by anonymous - 2 years ago
0
golang

Boucle d'or

Attrape la famille ours
Submitted by anonymous - 2 years ago
0
golang

ISO 8601 Datetime Validation

no description available
Submitted by anonymous - 2 years ago
0
golang

Simple measurement amount and unit

no description available
Submitted by anonymous - 3 years ago
0
golang

lkker-cos

no description available
Submitted by anonymous - 3 years ago
0
golang

FB payload

no description available
Submitted by anonymous - 3 years ago
0
golang

my

no description available
Submitted by anonymous - 3 years ago
0
golang

Remove whiteSpace and char

no description available
Submitted by anonymous - 3 years ago
0
golang

Report url regex

/ui_tests/master/28c6f611
Submitted by anonymous - 3 years ago
0
golang

Golang Google UUID Validation

no description available
Submitted by anonymous - 3 years ago
0
golang

UK address extract the Postcode

for demo 2019/09/30
Submitted by anonymous - 3 years ago
0
golang

More complete UK address from psql

for demo 2019/09/30
Submitted by anonymous - 3 years ago
0
golang

Address

for the demo 2019/09/27
Submitted by anonymous - 3 years ago
0
golang

GO Docker tag

no description available
Submitted by anonymous - 3 years ago

MikroTik firewall logs

Vote

0

Regular Expression
golang

`
^(?P<RuleNumber>[\d]+)\s+(?P<Chain>[^\s]+):\s+in:(?P<InputInterface>[^,]+)\s+out:(?P<OutputInterface>[^,]+),\s+(?:src-mac\s+(?P<SourceMacAddress>[^,]+),\s+)?proto\s+(?P<Protocol>\w+)(?:\s+\((?P<Flags>[^)]+)\))?,\s+\[?(?P<SourceAddress>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|[a-f\d:]+)\]?(?::(?P<SourcePort>\d+))?->\[?(?P<DestinationAddress>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|[a-f\d:]+)\]?(?::(?P<DestinationPort>\d+))?,\s+len\s+(?P<Length>\d+)$
`
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago