Javascript unicode regex

前端 未结 0 1692
别跟我提以往
别跟我提以往 2020-12-04 03:29

I want to convert all the numbers in a string to a symbol.

Hell1o2 changed to Hell1!o2”

\'Hell1o2\'.replace(/[1-9]/g, \'$&         


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