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
/
^(([A-Za-z\d])\2(?!.*\2)){3}$
/
gm
Input 1
1
New
RRFFKK BB7733 WWDDMM 5599AA 555677 AABBCD 55AA55 6699bb 66782376
Extraction
RRFFKK BB7733 WWDDMM 5599AA 555677 AABBCD 55AA55 6699bb 66782376