public static string GetSeriesName(string S) => S.RemoveGeneralTorrentWords().Where(x => !CharBlackList.Contains(x.ToString())).ExtractSeriesName().DotRemover().RemoveDoubleSpaces().ToCapital();
public static KeyValuePair <string, int> GetMovieNameYear(string S) { S = S.RemoveGeneralTorrentWords().DotRemover().Where(x => !CharBlackList.Contains(x.ToString())); return(new KeyValuePair <string, int>(S.RegexRemover(new Regex("(?:[^\\w\\d\\s]|\\b)?\\d{4}(?:[^\\w\\d\\s]|\\b)?")).RemoveDoubleSpaces().ToCapital(), new Regex("\\b\\d{4}\\b").Match(S).ToString().SmartParse())); }
public static string GetEpisodeName(string S) => S.RemoveGeneralTorrentWords().Where(x => !CharBlackList.Contains(x.ToString())).RemoveSeriesAndNumbers().DotRemover().RemoveDoubleSpaces().ToCapital();