var str = "01abc23中文4567中ad文89中文";
str=str.replace(/[^\x00-\xff]/g,"$&\x01").replace(/.{10}\x01?/g,"$&\n").replace(/\x01/g,"");
alert(str);

相关文章:

  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-21
  • 2021-07-03
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
相关资源
相似解决方案