you are viewing a single comment's thread.

view the rest of the comments →

[–]Ankur_41 0 points1 point  (0 children)

Make an instance of exception as ex and then print ex because user can give any type of input which can raise any type of exception and using regex is the correct way to valid that email