i Have a string in that sometimes ? sometimes � will come i want to replace it with single quotation.
i want some thing like this:
var Option = Option.replace("?"|"�", "'");
But this code is not working how can i write string replace in javascript.?