C# Regex
I am trying to learn more about regex.

Lets say I have a class defined as:

```
public class MyClass
 {
     Point      TopLeft;
     FontStyle  fontStyle;
     FontWeight fontWeight;
     String     Message;  
 }

```

Which I then serialize as:

```
 string s = string.Format("\u0001 ({0},{1}), {2}, {3} \u0003 {4}",
             TopLeft.X, TopLeft.Y, fontStyle, fontWeight, Message);

```

Many such strings s will then be added together and sent to the backend database (PostgreSQL 9.6).

Later, I recall all such strings from the database. Regex is then used to split the strings back to their original items:

```
        string pattern = @"\u0001";
        string input = pndt.transcription;
        string[] result = Regex.Split(input, pattern);

```

Can regex now be used to further parse the serialized string back to its original object of MyClass? That is, how can regex be used to "decode" the formated string created with the above string.format back to its original object?

Any help is much appreciated.

TIA