Thursday, August 25, 2011

Regular Expressions

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.

0 comments: