Posted By

binarynomad on 11/11/08


Tagged

regex mac


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

Scooter
jeremyhcobb
Tyster


MAC Addresses


 / Published in: Regular Expression
 

Media Access Control or MAC Addresses regular expression

  1. ([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: bcd on December 5, 2008

^([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}$ it's better ... "11:11:11:11:11:11F" will match the initial regexp

You need to login to post a comment.