Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^comment[\s*:]*(.*)
/
gm
Input 1
No of Host Probes : 0 Max no of Host Probes : 0 rstIsFailure : 1 state : UNKNOW comment : probe cycle errors : 0 Perf Callback Ids : None Group Member : __jjjjkj - U0
Substitution
\1
No of Host Probes : 0 Max no of Host Probes : 0 rstIsFailure : 1 state : UNKNOW comment : probe cycle errors : 0 Perf Callback Ids : None Group Member : __jjjjkj - U0