I want to replace the value of post.title with replace() method. i tried ${post.title.replace(/\\&/g, \'-\')} << this is not working
${post.title.replace(/\\&/g, \'-\')}