Regular Expressions 101

Community Patterns

1

ip address

PCRE2 (PHP >=7.3)
ip
Submitted by Giorgio - a month ago
1

Kafka loki parser

Golang
Kafka loki parser
Submitted by anonymous - a month ago

IPv4-CIDR

0

Regular Expression
ECMAScript (JavaScript)

/
^(?:(?:1?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(1?\d{1,2}|2[0-4]\d|25[0-5])\/(?:[0-9]|[1-2][0-9]|3[0-2])$
/
mg

Description

Loading markdown...
Submitted by fwqaaq - 6 months ago