Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^fa0\/(1[3-9]|2[0-4])$
/

Description

This regex captures Cisco-style FastEthernet ports 13-24

Submitted by @looklittlejohn - 9 years ago