import ree = re.search(r'\d+' , '234')if e: print(e.group())
Standard input is empty
234
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!