我试图用数字替换为空白的所有字符,但这不起作用:
s.replace(/(?!\d)/g, '')
谢谢!
javascript regex regex-negation
javascript ×1
regex ×1
regex-negation ×1