How to keep a single backslash in JavaScript?
I'm working on a project where this string ^[email protected]$ is stored in a parameter. It's possible to retrieve it in the JS part using @Params.RegexMail. I can't modify the value of @Params.RegexMail beforehand. I tried to do console.log("@Html.Raw(@Params.FiltreEmail)"); and even…