Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
netBooter Telnet status parser
Open Workspace
JavaScript
Match
Created 2016-10-18 17:43
0
Regular Expression
/
\s
{2,3}
(
\d
+
)
\|
\s
{8,9}
(
\w
+
)
\|
\s
{3}
(
ON
\s
|
OFF
)
\|
(
\s
+
|
\s
+
\w
+
)
\|
\s
{5}
(
ON
\s
|
OFF
)
\n|\s
{3}
(
\d
)
\s
\|
\s
+
(
\w
+
)
\s
+
\|
\s
+
(
ON
\s
|
OFF
)
\|
(
\s
{2}
\n
|
.\w
+
)
|
AC
current
draw
\s
(
\d
)
\:
\s
(
\d
\.
\d
{2}
)
|
Max
detected
\s
(
\d
\.
\d
{2}
)
/
g
Description
This Regex will parse the status output of netBooter type internet connected power switches.
Submitted by
Anonymous