str_num = 'abc123' num = parseInt(str_num.replace(/[^0-9]/ig,"")); alert(num);
posted on 2017-04-13 10:03 星河赵 阅读(6985) 评论(0) 收藏 举报