I need some assistance in constructing a RegExp pattern for removing/changing stray quotes within a text file.
My script basically reads a line from a comma-delimited text file (with quotes for text qualifiers). I then want to construct a RegExp pattern to remove.change quotes if they are not at the beginning of the line, the end of the line, followed by a comma, preceded by a comma, etc.
The resulting modified string is then written to another text file, leaving the original text file intact.
It all works except for the appropriate 'objRegExp.Pattern'
In essence I want to leave all of the text qualifiers, and remove the other stray quotes.
Any help would be greatly appreciated.
Thank you.
My script basically reads a line from a comma-delimited text file (with quotes for text qualifiers). I then want to construct a RegExp pattern to remove.change quotes if they are not at the beginning of the line, the end of the line, followed by a comma, preceded by a comma, etc.
The resulting modified string is then written to another text file, leaving the original text file intact.
It all works except for the appropriate 'objRegExp.Pattern'
In essence I want to leave all of the text qualifiers, and remove the other stray quotes.
Any help would be greatly appreciated.
Thank you.