I'm trying to detect if a string contains any characters outside of a range of values (ASCII), from ,(comma) to |(pipe). I tried this and it didnt work
string.Contains("[^,-|]");
any ideas?