I am trying to split a string in C# the following way:
Incoming string is in the form
string str = \"[message details in here][another message here]/
Another option would be to use lookaround assertions for your splitting.
e.g.
string[] split = Regex.Split(str, @"(?<=\])(?=\[)");
This approach effectively splits on the void between a closing and opening square bracket.