var num1 =l-H6OW# var num2 =3v%gbSQ_
理想效果↓
var num1 =lH6OW var num2 =3vgbSQ
无论有什么字符,都只用保留字母(大小写都可)和数字
请问下大神们该怎么做,小弟感激不尽
'3v%gbSQ_'.replace(/[^0-9a-zA-Z]/g, '')
1.4m articles
1.4m replys
5 comments
57.0k users