how to remove 00 before number in jquery code example Example: avoiding 0 at front in javascript number.replace(/^0+/, '')