Try this :
string[] separators = {"<b>", "</b>", "\\n"};
string value = "Hi, my name is <b>Dan</b> and i need \\n to separate string";
string[] words = value.Split(separators, StringSplitOptions.RemoveEmptyEntries);
solved Function for splitting by substring [closed]