Very simple little question, but I don\'t quite understand how to do it.
I need to replace every instance of \'_\' with a space, and every instance of \'#\' with no
You can also pass a RegExp object to the replace method like
var regexUnderscore = new RegExp("_", "g"); //indicates global match var regexHash = new RegExp("#", "g"); string.replace(regexHash, "").replace(regexUnderscore, " ");
Javascript RegExp