I am trying to create a regex to replace zeros in a list with an empty value, but not replace zeros in ten, twenty, thirty, etc.
list = 0,1,0,20,0,0,0,1, 1,3,10,30,0
desired list =, 1, 20 ,, 1, 1,3,10,30,
Using this in javascript replacement function
Any help / advice appreciated!
source share