Hi hopefully an easy one,
var regReplace = eval("/" + strChar + "/g");
However, I can't get this function to remove line feeds or carriage returns. If I pass in "\n" as the string to remove I get the following error:
Error: "/" expected
Hope you can help.