I am trying to figure out the pattern that will get words from a string. Say for instance my string is:
string text = "HI/how.are.3.a.d.you.&/{}today 2z3";
I tried to eliminate anything under 1 letter or number but it doesn't work:
Regex.Split(s, @"\b\w{1,1}\b");
I also tried this:
Regex.Splits(text, @"\W+");
But it outputs:
"HI how are a d you today"
I just want to get all the words so that my final string is:
"HI how are you today"