using System; using System.Text.RegularExpressions; public class MainClass { public static void Main() { string v = "Once Upon A Time In America"; Regex o = new Regex(@"[\s]+"); foreach (string ss in o.Split(v)) { Console.WriteLine(ss); } } }