Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

validador regex mac address

/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/
/* 
	Funciona para:
	3D-F2-C9-A6-B3-4F
	3D:F2:C9:A6:B3:4F
*/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #validador #regex #mac #address
ADD COMMENT
Topic
Name
4+2 =