JavaScript String Replace all

前端 未结 0 1709
误落风尘
误落风尘 2021-01-15 01:41

I have the following string and I want to replace all special characters of a string.

let data = "`test@#$demo%^here[sf.s]\\|demo{delata}*testing?+$^()`&         


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