how to .replace() the 'error'? only use a and b
var str = 'bla bla anything error anything bla bla';
var a = 'anything', b = a;
im not good with regular expressions so im asking for how to do this with variables so i can set them up all by myself