I\'ve got a JS string
var str = \'@robot ping\';
I need to remove this part of a string
Use // for regex. Replace " with /.
//
regex
" with /.
/.
var str = '@robot ping'; str = str.replace(/
Documentation for replace