Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^([01]{2})(?=(?:[01]*1){2}[01]{4,6}$)([01]{4})([01]{2})([01]{2})$
/
gm
Input 1
1
New
0000110000 0011000000 0001100000 0000110000 0011010000 0011110000 0001110000 0001100000 00011000000 0000000011
Substitution
0000110000 0011000000 0001100000 0000110000 0011010000 0011110000 0001110000 0001100000 00011000000 0000000011