Regular Expressions 101

Community Patterns

Cisco | Show LLDP Neighbors

0

Regular Expression
PCRE (PHP <7.3)

/
^(?P<hostname>[\w-_]+)\s+(?P<localInterface>[A-Za-z]+\d+(?:\/\d+)*)\s+(?P<holdTime>\d+)\s+(?P<capabilities>[A-Z]+)\s+(?P<remoteInterface>[A-Za-z]+\d+(?:\/\d+)*)
/
gm

Description

no description available

Submitted by anonymous - 5 years ago