Get Name from Email Address

Question:

Write python program to print the user name of a given email address.

Program:

Explanation:

Email addresses are in the “[email protected]” format.

Both user names and company names are composed of letters only.

Use \w to match letters.

Output:

Do share your feedback in comments to help us adding more programs like this.

Checkout more Python Programs

Click here

Leave a Reply