js 去掉字符串前面的0

<script>var a='00123';alert(a.replace(/\b(0+)/gi,""));</script>
相关文章
相关标签/搜索