DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
mac address validation regex
/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/ /* works for: 3D-F2-C9-A6-B3-4F 3D:F2:C9:A6:B3:4F */
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mac
#address
#validation
#regex
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit