You need to sign in to do that
Don't have an account?
Sonali Bhardwaj
CSV Parsing in Apex
I have some requirement, I need to parse CSV in Apex through RegEx.
I am able to parse it successfully using some string functions (split, substring, etc.) but I want to parse it through RegEx.
Could any one please help me on RegEx for CSV parsing?
Sonali,
Did you checked following sample codes?
Thanks Prasanna for your response.
The code given on the URLs does not hanlde the case when a field's value contains new line character(\n).
Also, I need some help on Regular Expressions.My requirement is to parse CSV using RegEx.
Have you found solution for this problem ?
https://code.google.com/p/apex-csv-reader/source/browse/CSVReader.cls