Regular Expressions 101

Community Patterns

fdb-mac-table (zte)

0

Regular Expression
PCRE (PHP <7.3)

/
^\s*(?<mac>\w{4}\.\w{4}\.\w{4})\s*(?<vlan>\d*)\s*(?<type>\w*)\s*(?<port>(\w|-|\/|:|\d*)*)\s*(?<vc>\w*\s*\d*)\s*(?<time>(\w|-|\/|:|\d*)*)$
/
gm

Description

no description available

Submitted by anonymous - 4 years ago