Search
 
SCRIPT & CODE EXAMPLE
 

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
*/
Comment

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
*/
Comment

PREVIOUS NEXT
Code Example
Javascript :: datatables remove pagination 
Javascript :: jquery remove required attribute 
Javascript :: clean gradle react android 
Javascript :: redirect to link using jquery on new tab 
Javascript :: javascript radian to degree 
Javascript :: toggle text jquery 
Javascript :: react refresh page 
Javascript :: kill all node processes 
Javascript :: jquery accept only excel file 
Javascript :: javascript void(0) href 
Javascript :: js if mobile browser 
Javascript :: jquery checkbox changed event 
Javascript :: vuex-module-decorators rawError globally 
Javascript :: clear cache of node file 
Javascript :: flash input 
Javascript :: change input to required jquery 
Javascript :: how to console.log formData 
Javascript :: loop array backwards javascript 
Javascript :: zip code regex 
Javascript :: “javascript sleep 1 second 
Javascript :: how to change a css variable with javascript 
Javascript :: counterup2 cdn 
Javascript :: ajax beforesend 
Javascript :: js remove readonly attribute 
Javascript :: installing jQuery in react js 
Javascript :: angular pipe for 2 decimal places 
Javascript :: js replace single quote with doubel quote 
Javascript :: box shadow react native 
Javascript :: npm create-react-app 
Javascript :: pick a random element from an array javascript 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =