Question How to write an expression to split a string into ',' but not '/,' ? Later I want to replace '/,' with ', ' .
More details ...
Separator : ','
Skip Char : '/'
Input Example : "Mister,Bill,is,made,of/,clay"
I want to split this entry into an array: {"Mister", "Bill", "is", "made", "of, clay"}
I know how to do this with char prev, cur; and some indexers, but this seems like a beta.
Java Regex has shared functionality, but I don't know how to replicate this behavior in C #.
Note. This is not a duplicate question, it is the same question, but for a different language.
source share