remove invisible characters c# code example
Example: remove control characters from string c#
string input; // this is your input string
string output = new string(input.Where(c => !char.IsControl(c)).ToArray());
string input; // this is your input string
string output = new string(input.Where(c => !char.IsControl(c)).ToArray());