import reemail = 'serebro@gmail.com'print(re.findall(r'(.+)@(.+)\.(.+)', email))
Standard input is empty
[('serebro', 'gmail', 'com')]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!