I want to replace a regular expression (a string), the string is url(../img/content/blocks.svg) no-repeat scroll transparent;
My script is
var content = content.replace(/url(../img/content/blocks.svg) no-repeat scroll transparent;/g, "none;");
This makes an error : Uncaught SyntaxError: Unexpected identifier