string input = "one \"two two\" three \"four four\" five six";
var parts = Regex.Matches(input, @"[\""].+?[\""]|[^ ]+")
.Cast<Match>()
.Select(m => m.Value)
.ToList();
More Related Contents:
- Splitting of words Dynamically in c# [duplicate]
- Split and cut string in C# [closed]
- Take all characters after separator symbol after 5th sign
- Split string into two separate strings [duplicate]
- C# Split String before the first number
- Easiest way to split a string on newlines in .NET?
- Split a string by another string in C#
- C# Splitting Strings?
- How can I split a string with a string delimiter? [duplicate]
- Split a List into smaller lists of N size [duplicate]
- Split a string with delimiters but keep the delimiters in the result in C#
- string.split – by multiple character delimiter
- Splitting a string / number every Nth Character / Number?
- How to keep the delimiters of Regex.Split?
- Split a string with delimiters but keep the delimiters in the result in C#
- Split string, convert ToList() in one line
- C# Regex Split – everything inside square brackets
- Split string into string array of single characters
- Regex split string but keep separators
- split a string on newlines in .NET
- C# Regex.Split: Removing empty results
- How to extract decimal number from string in C#
- Get values between curly braces c#
- How to split a byte array
- Split string and get first value only
- Regular expression to split string and number
- Splitting a string in C#
- Measuring the length of string containing wide characters
- splitting a string based on multiple char delimiters
- Preprocessor directive in C# for importing based on platform