Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^([0-9A-F]{2}-){5}[0-9A-F]{2}$
"
gm

Description

Checking for MAC address matching in python

Submitted by dhakavikaskumar - 2 years ago