fork download
  1. import re
  2. s = "123ABC,'2009-12-23T23:45:58.544-04:00'"
  3. reg = re.compile(r'(\d)T(\d)')
  4. s = reg.sub(r'\1 \2', s)
  5. print(s)
  6.  
Success #stdin #stdout 0.01s 8968KB
stdin
Standard input is empty
stdout
123ABC,'2009-12-23 23:45:58.544-04:00'