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-Z]|(?!\A)\G)(\d+z)
/
g
Input 1
1
New
A42z19z037z21zB942z21z4842zC33z449z3884z68z20z
Substitution
A42z19z037z21zB942z21z4842zC33z449z3884z68z20z