regex remove all non alphanumeric except @

后端 未结 0 1515
無奈伤痛
無奈伤痛 2020-12-09 07:34

How do I remove all non-alphanumeric characters except for @?

`@some random text goes here %#KG§ blah`.replace(/\\W/g, ``) // replaces all non-alphanumeric bu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题