Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
("[^"]+")|[^(?!"|,)\n][^,|\n]*|,(?=\n)|\n(?=,)|,(?=,)|,(?=$)
/
gm

Description

I'm dealing quite a lot w this. This CSV Parser is used for Js (particularly for my current project wrting script for After Effects through ExtendScript)

Submitted by binguine - 10 months ago