var str = '2016060520103600466';

var str=str.replace(/\s/g,'').replace(/(.{4})/g,"$1 ");

alert(str);

相关文章: