Split , MatchCollection :
string str = "hello world, 'HELLO WORLD': we'll be fine.";
MatchCollection matches = Regex.Matches(str, @"(')([^']+)(')|(\w+)");
. , .
-.net Match s. Group - ('hello world'), (', hello world, '). , .
. LINQ:
var tokens = from match in matches.Cast<Match>()
from g in match.Groups.Cast<Group>().Skip(1)
where g.Success
select g.Value;
tokens :
hello, world, ', hello world, ', we, ll, be, fine