Problem Statement – 1
Write a program that gets a set of email ids that are separated either with commas or semicolons. Extract all the email addresses from the given string and display the email address
Write a program that will take this email string as an input and displays the user ids.
SAMPLE INPUT
Enter email ids:
sample.input@gmail.com,sample.output@tcs.com;sample.test@output.com
SAMPLE OUTPUT
sample.input
sample.output
sample.test
Sample Program:
Sample Output:
sample.input
sample.test
sample.output
Any queries leave a comment please and thanks for reading this post.