fork download
  1. import re
  2. e = re.search(r'\d+' , '234')
  3. if e:
  4. print(e.group())
Success #stdin #stdout 0.01s 8968KB
stdin
Standard input is empty
stdout
234