Back to Library
Validation

MAC Address

Matches identifiers assigned to network interfaces.

Pattern
^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$

Test Cases

00:1A:2B:3C:4D:5E Match

Try it Live

Test and customize this pattern in our interactive editor

Open in Editor