using System; using System.Text.RegularExpressions; public class Test { public static void Main() { var str = "StopService::\r\n697::12::test::20::a@yahoo.com::20 Main Rd::Alcatraz::CA::1200::Please send me Information to\r\nA@gmail.com::0::::"; var rgx = new Regex(@"(?<=^[^:]*::)[\r\n]+"); Console.WriteLine(rgx.Replace(str, string.Empty)); } }