i would appreciate your help on this, since i do not know which range of characters to use, or if there is a character class like [[:cntrl:]] that i have found in ruby?
To remove all control and other non-printable characters
Regex.Replace(s, @"\p{C}+", String.Empty);
To remove the control characters only (if you don't want to remove the emojis