I am trying to split a sentence/phrase in to words using Regex.
var phrase = \"This isn\'t a test.\";
var words = Regex.Split(phrase, @\"\\W+\").ToList();
>
If you want to split into words for spell checking purposes, this is a good solution:
new Regex(@"[^\p{L}]*\p{Z}[^\p{L}]*")
Basically you can use Regex.Split using the previous regex. It uses unicode syntax so it would work in several languages (not for most asian though). And it won't break words with apostrophes ot hyphens.