fork(11) download
  1. import re
  2. subject = "ab-cd"
  3. subject = re.sub(r"([a-z])\-([a-z])", r"\1 \2", subject , 0, re.IGNORECASE | re.DOTALL)
  4.  
  5. print subject
Success #stdin #stdout 0.02s 9016KB
stdin
Standard input is empty
stdout
ab cd