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[1-9](?=,|$)
/
gm
Input 1
New
4/4/3001 1,21,3,42,5,63,7,84,9 12/01/3001 1,21,3,42,5,63,7,84,9
Substitution
0$0
4/4/3001 1,21,3,42,5,63,7,84,9 12/01/3001 1,21,3,42,5,63,7,84,9