📌  相关文章
📜  从字符串中删除所有字符并仅保留数字 javascript 并在数字之间留出空格 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:14.941000             🧑  作者: Mango

代码示例2
var text = "Player's got to * play! #justsaying";
var result = text.replace(/[^A-Z\d\s]/gi,'');
console.log(result);