I have a String

```cs
string astring="#This is a Section*This is the first category*This is the
second Category# This is another Section";

```

I want to separate this string according to delimiters. If I have # at the start this will indicate Section string (string[] section). If the string will starts with \* this will indicate that I have a category(string[] category).
As a result I want to have

```
string[] section = { "This is a Section", "This is another Section" }; 
string[] category = { "This is the first category ",
     "This is the second Category " };

```

I have found this answer:
[string.split - by multiple character delimiter](https://stackoverflow.com/questions/1254577/string-split-by-multiple-character-delimiter)
But it is not what I am trying to do.