Regex for replacing spaces not between quotation marks

后端 未结 0 1790
说谎
说谎 2021-01-16 07:10

I\'d like to remove all whitespaces from a given string like this

const mystring = `
   This is an example string with \'single quotes\' and          


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