fork download
  1. import re
  2.  
  3. p = re.compile(r'(\d{2}|(?!.*\d{2}))')
  4. r = p.search('wqddsel78ffgr')
  5. print r.groups()
Success #stdin #stdout 0.08s 10928KB
stdin
Standard input is empty
stdout
('78',)