Replace Invisible Characters – Control Chars On February 23, 2015 By fransiscussIn Uncategorized You can use this function to replace the invisible chars Regex.Replace(s, @"[^\x20-\x7F]", ""); Share this:TwitterFacebookLike this:Like Loading... Related