I need to run advanced find and replace using regex. I have a CSV similar to the following:
"Item 1a,,,,
,,Item 1b,,,,
,,Item 1c"
"Item 2a,,,,
,,Item 2b,,,,"
I need to remove the trailing commas for lines that start with a " quote. I can match the correct lines like so:
(".*?),,,,$
The problem is, that selects the entire row, rather than just the trailing commas.
Anybody know how to match this correctly? so that only the commas are matched, on lines that start with " quote.