Regular Expressions 101

Library entries

Split output of $(ip addr) into individual interfaces

Vote

0

Regular Expression
python

"
\d: (?!<)[^\n]+(?:\n .*)*
"
g

Description

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