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