Searching for Email Format and Domain

Hello, I am new to C++ and programming in general. I was wondering if it is possible to use C++ to search for company email formats and domain addresses?

For example, finding the correct format like:

jsmith@carnival.com
or
johnsmith@carnival.com
or
j.smith@carnival.com


Also, if it is possible to find the actual email domain, such as:

@carnival.com
or
@carnivalcruises.com
or
@carnivalcorp.com


I was told by my professor that this is a simple task that could be accomplished using a search function but I wanted to get additional feedback if this is possible or not?


Thanks,

Cal
Are you asking if C++ will allow you to find emails existing within a list of emails?

What exactly are you searching?
Not an existing list but search the internet
you want to search the whole internet for one uri type (or am i sleepy and stupid and an email is not a uri)? not feasable, but certainly doable. its quite easy to program. you just write a program to parse the html and if it finds a new website, add it to the list of sites to parse. meanwhile while its doing that, if it finds the email format, notify you in some way
Yes, well I have a list of 4000 websites already. I just need the email formats for each one. So you're saying that it is possible?

When you say not feasible but doable what do you mean?


Topic archived. No new replies allowed.