z6c - personal blog about topics

Christian Müller – Letzte Änderung: 17.10.2013 10:22 Uhr

regex für MAC Adressen

Von Stackoverflow:

The standard (IEEE 802) format for printing MAC-48 addresses in human-friendly form is six groups of two hexadecimal digits, separated by hyphens - or colons :.

So:

^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$

Kommentare für diesen Artikel noch nicht freigeschaltet.

Bitte eine Email an kommentare@zentonic.org mit Betreff "Kommentare für Post 66"