using System; using System.Linq; using System.Collections.Generic; public class Test { public static void Main() { string text = "'2014' , '381' , '1' , 'Eastern 10' , 'Wes 10' , '1'"; string[] words = text.Split(new[] { "' , '" }, StringSplitOptions.None); string result = string.Join("", words.Take(2).ToArray()) + string.Join("' , '", words); Console.Write(result); } }