string textbox = Projects.Variables["textbox"].Value;
List<string> listOfparagraphs = new List<string>();
Regex regex = new Regex("\\[\\d+]");
var paragraphs = regex.Matches(textbox); // get all pararaphs num as [1],[2],[3].. etc
foreach (var paragraph in paragraphs)
{
string[] stringSeparators = new string[] { paragraph.ToString()};
var text = textbox.Text.Split(stringSeparators, StringSplitOptions.None);
listOfparagraphs.Add(text[0]); // in this list i add all paragraphs splitted by [1],[2], and others
textbox = textbox.Replace(text[0], "").Replace(paragraph,"");
if (textbox=="")
break;
}