Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^((?:[\da-fA-F]{2}\:){5}[\da-fA-F]{2})$
/

Description

matches format:

a0:39:f7:83:19:c3

detail at: http://nabtron.com/

Submitted by nabtron - 9 years ago