[Solved] Split multiple Words in a string [closed]
I am unsure about the language, but for C# you can use the following: string s1 = “1 AND 1 OR 1”; string s2 = s1.Replace(“AND”, “,”).Replace(“OR”, “,”); Console.WriteLine(s2); Which doesn’t use regular expressions. If you want an array, you can use the following: string s1 = “1 AND 1 OR 1”; string[] s2 = … Read more