using System; using System.Text.RegularExpressions; namespace teste { class Program { static void Main(string[] args) { string[] itens = { "exemplo1", "\r", "exemplo3", "exemplo4", "\r", "\r\r\r\r", "exemplo7", "exemplo8" }; Regex r = new Regex(@"\r",RegexOptions.IgnoreCase); foreach (string e in itens) if(!r.IsMatch(e)) Console.WriteLine(e); } } }