Regex Hero | The .NET Regular Expression Tester
/
.NET Regex Library
CSV line splitter (including comments)II
0
(?x) # enable comments and ignore spaces \s*,\s* # match a comma possibly enclosed by spaces (?= # start positive look ahead (?:[^"]*"[^"]*")* # match an even number of double quotes with zero or more non-quotes before, or in between [^"]* # match zero or more non-quotes $ # match the end of the line ) # stop positive look ahead
Splits a CSV record (a line) according RFC 4180 http://tools.ietf.org/html/rfc4180
anffna
04/21/2018 16:40:17
0 comments so far.
Preview
<< back to
Library
Regex Hero
.NET Regex Tester
Reference
Library
Videos
Support