Question : remove zeros regex
Answered by : ahmed-elnawawy
str = str.replace(/^0+/, "");
Source : https://stackoverflow.com/questions/29658654/regex-to-strip-leading-zeros-treated-as-string | Last Update : Fri, 30 Sep 22
Answered by : ahmed-elnawawy
str = str.replace(/^0+/, "");
Source : https://stackoverflow.com/questions/29658654/regex-to-strip-leading-zeros-treated-as-string | Last Update : Fri, 30 Sep 22