let str = 'is24is1524'
    let res = str.replace(/[A-Za-z]/g, '')
    console.log(res);
posted on 2020-02-28 23:00  周小姐你好  阅读(1053)  评论(0编辑  收藏  举报