After a longtime, I wrote regular expressions to work on a CSV file.
new System.Text.RegularExpressions.Regex(",(?=(?:[^\\\"]*\\\"[^\\\"]*\\\")*(?![^\\\"]*\\\"))");
I almost forgot how fun it is to work with them like this and this.
new System.Text.RegularExpressions.Regex(",(?=(?:[^\\\"]*\\\"[^\\\"]*\\\")*(?![^\\\"]*\\\"))");
I almost forgot how fun it is to work with them like this and this.

0 comments:
Post a Comment