fork download
  1. import re
  2. m = re.search(r'(?<!v)\d+', 'foobarv2_34 423_wd', re.I)
  3. if m:
  4. print(m.group())
  5.  
Success #stdin #stdout 0.03s 9400KB
stdin
Standard input is empty
stdout
34