Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2015-06-24 15:41
Flavor·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=.*)
"
Open regex in editor

Description

tes

Submitted by tes