/ Published in: Regular Expression
Media Access Control or MAC Addresses regular expression
Expand |
Embed | Plain Text
([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}
Comments
Subscribe to comments
You need to login to post a comment.
binarynomad on 11/11/08
3 people have marked this snippet as a favorite
Media Access Control or MAC Addresses regular expression
([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}
Subscribe to comments
You need to login to post a comment.
^([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}$ it's better ... "11:11:11:11:11:11F" will match the initial regexp