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
/
\b[A-Z]+[A-Za-z]*(?:[0-9]+(?:[A-Z]+[A-Za-z]*)*)*\b
/
gm
Input 1
1
New
ABCWord, A3BWord, OtherWord, Word3, Word3AB, wordAl, Word3ab, WorRD3A3A
Extraction
ABCWord, A3BWord, OtherWord, Word3, Word3AB, wordAl, Word3ab, WorRD3A3A