import rem = re.search(r'(?<!v)\d+', 'foobarv2_34 423_wd', re.I)if m: print(m.group())
Standard input is empty
34
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!