Is it possible to remove "and","is","and other words" instead of just "and"
original = original.Replace("and", String.Empty);
I am trying to create a program that can detect and kind of compress a text file down by getting rid of irrelevant words like "and" , "is", "because" etc etc.
string original = "yeet is and this because working is what help me.";
original = original.Replace("and", String.Empty);
Console.WriteLine(original);
Console.ReadLine();
It wont run the code instead it will just say "Name can be simplified" if I do "and","in" I did try using or as in ||.