I have a string that I need to parse. The problem is that some parts of the string are not always the same.
a3: S8: [gmpage] S17: head GM NecrocideS12: test [15158]
The first 18 characters are always the same, so they can easily t20>.
My problem is that the characters S12: not always equal to S12: it can be easily S26: - so I cannot use a simple String.Replace() on it. I need to replace these 3 characters with :
How can I do this with regex? Thanks.
source share