Hi,
there are several Formats for a MAC-Address. I think the most common forms are xx:xx:xx:xx:xx:xx and xx-xx-xx-xx-xx-xx. But you can also write it as xxxxxxxxxxxx or xx.xx.xx.xx.xx.xx and even xxxx.xxxx.xxxx. You could even write them as unencoded bytes (binary).
To match all of them (except the binary representation), you can use
[0-9a-fA-F]{2}(?:[-.:]?[0-9a-fA-F]{2}){5}
If you only want one specific format, adjust [-.:]? to your needs (e.g. remove ? if there is allways a seperator between all of the values. Remove . and : if this seperator is always a hyphen).
Greetings,
Wolfgang Kluge
gehirnwindung.de