I have the following regex:
Regex rgx = new Regex("[^a-z0-9/ -_]");
input = rgx.Replace(input, string.Empty);
Which I thought would remove anything that is not a to z, 0 - 9, a space, dash or underscore.
However, when I pass the following in "Outfalls & Accessories", it doesn't remove the ampersand
Is there something I am missing here?