Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(address=[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+) (mac-address=[0-9A-F]{2}:[0-9A-F]{2}:[0-9A-F]{2}:[0-9A-F]{2}:[0-9A-F]{2}:[0-9A-F]{2}) .*(host-name=.*)
"

Description

tes

Submitted by tes - 9 years ago