Medium
Extract Emails
Print every email address in the line, in order, one per line (or
none). Use [\w.]+@\w+(?:\.\w+)+.Input
One line.
Output
Lines.
Sample 1
Input
contact mim@diu.edu.bd or rafi@example.com today
Output
mim@diu.edu.bd rafi@example.com
Sample 2
Input
no email
Output
none
Output appears here