/// <summary> /// Filters non descriptive words/characters from a title so that only keywords remain. /// </summary> /// <returns></returns> private string GetKeywords(string title) { // Remove articles and non-descriptive words string newTitle = BaseInfo.CleanString(title); newTitle = Regex.Replace(newTitle, @"\b(and|or|of|und|en|et|y)\b", "", RegexOptions.IgnoreCase); // Replace non-word characters with spaces newTitle = Regex.Replace(newTitle, _rxMatchNonWordCharacters, " "); // Remove double spaces and return the keywords return(BaseInfo.CleanupWhiteSpaces(newTitle)); }