Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Regular
Expressions
101
Regular
Expressions
101
Upgrade to Pro
Enterprise
Regular Expression
"
^(?!.*[_G-Z])\w\w([:-]?)(?:\w\w\1){6}\w\w$
"
gmi
Input 1
1
New
00:13:a2:00:41:8b:93:7a 0013a200418b937a AD:12:13:FC:14:EE:FF:FF ad-12-13-fc-14-ee-ff-ad ad-12-13-fc:14-ee-ff-ad ad-12-13-fc14-ee-ff-ad 0013a200418b:937a
Substitution