using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
static void Main(string[] args)
char[] delimiters = new char[] { '/', '&', '-', '.', '\n',
'\r', ' ', '^', '%', '#',
'(', ')', '_',',','*','>',
using (StreamReader reader = new StreamReader(@"C:\Users\s118223\Documents\ShareCenter\Word Cloud\FireScoutVTUAV.csv"))
while ((line = reader.ReadLine()) != null)
parts = line.Split(delimiters, StringSplitOptions.RemoveEmptyEntries);
for (int i = 0; i < parts.Length; i++)
if (!Regex.IsMatch(parts[i], @"\d"))
if (parts[i].Length >= 4)
Console.WriteLine(parts[i]);
Console.WriteLine("The total word count is {0}", wordCnt);