using System; using System.Text.RegularExpressions; public class MainClass { public static void Main() { string x = "Once Upon A Time In America"; Regex m = new Regex("( )"); foreach (string ss in m.Split(x)) { Console.WriteLine(ss); } } }