fork(1) download
  1. import re
  2. text = '12, 1425073747, "test", "1, 2, 3, ... "'
  3. print( re.sub(r'"[^"]*"', lambda x: x.group().replace(",", ""), text) )
Success #stdin #stdout 0.02s 9488KB
stdin
Standard input is empty
stdout
12, 1425073747, "test", "1 2 3 ... "