Regular Expressions 101

Community Patterns

0

Mysite

PCRE (PHP <7.3)
Hello
Submitted by anonymous - 8 months ago
0

Remove Whitespace

PCRE2 (PHP >=7.3)
no more whitespace
Submitted by Me - 8 months ago
0

ipv4

PCRE2 (PHP >=7.3)
To check IPv4
Submitted by anonymous - 8 months ago
-1

phone

PCRE2 (PHP >=7.3)
regex for phone
Submitted by anonymous - 8 months ago

Grafana - Templating with Variables : Display Text to Value

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<value>^Interface ethernet1\/4.(?<text>25[0-6]|(2[0-4]|1\d|[1-9])\d|[1-9]).*):.*
/
gm

Description

Loading markdown...
Submitted by ulgena - 10 months ago
(Last modified 10 months ago)