csv - How to use REGEX to replace just commas outside quotes? -


i have .csv files follow example below

22645.30003,2013 mar 31,4:00:00,5:59:59,"twilight saga, the: breaking dawn - part 2","condon, bill",,,4 

i need replace comma column separator symbol \ leaving intact commas ocurring inside strings enclosed in quotes , intend use in simple find , replace in notepad++ instance.

you can try this

search :  ,("[^"]*")?  replace : \\\1 

(tested , works on version 6.3.2)


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -