developer155
Programmer
Is someone good with regexp?
I have a Comma-Delimetered file and text is enclosed with ""
So its like this
"aaa","bbbb","cccccc","","ggg"
"aaa","bbbb","cccccc","","ggg"
"aaa","bbbb","cccccc","","ggg"
I use SSIS to parse the file and sometimes the parser crashes when there is a quotes inside a text qualifier (which is double quote)
So this line would fail:
"aaa","bbbb","cccc"cc","","ggg"
Or this one also:
"aaa","bbb""b","cccccc","","ggg"
Basically we cant have double quotes inside double quote-delimetered part. I can write a custom script to check for this and I am thinking of using RegExp. Anyone knows how to check for double quote inside of "..." with regular expressions?
thanks!!!
I have a Comma-Delimetered file and text is enclosed with ""
So its like this
"aaa","bbbb","cccccc","","ggg"
"aaa","bbbb","cccccc","","ggg"
"aaa","bbbb","cccccc","","ggg"
I use SSIS to parse the file and sometimes the parser crashes when there is a quotes inside a text qualifier (which is double quote)
So this line would fail:
"aaa","bbbb","cccc"cc","","ggg"
Or this one also:
"aaa","bbb""b","cccccc","","ggg"
Basically we cant have double quotes inside double quote-delimetered part. I can write a custom script to check for this and I am thinking of using RegExp. Anyone knows how to check for double quote inside of "..." with regular expressions?
thanks!!!