fork download
  1. import re
  2. p = re.compile(r'(?<=[a-zA-Z]),(?=[a-zA-Z\s])')
  3. test_str = "2015,1674,240/09,PEOPLE V. MICHAEL JORDAN,15,15\n2015,2135,602832/09,DOYLE V ICON, LLC,15,15"
  4. result = p.sub("", test_str)
  5. print(result)
Success #stdin #stdout 0.01s 8968KB
stdin
Standard input is empty
stdout
2015,1674,240/09,PEOPLE V. MICHAEL JORDAN,15,15
2015,2135,602832/09,DOYLE V ICON LLC,15,15