<script>
var start = '11-11-21';
start = start.replace(/-/gm,'');
alert(start);
</script>


显示结果为111121

相关文章: