Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract emails from domain #66

Open
MislavSag opened this issue Jul 29, 2019 · 0 comments
Open

Extract emails from domain #66

MislavSag opened this issue Jul 29, 2019 · 0 comments

Comments

@MislavSag
Copy link

I would like to extract e-mails from several domains. Lets say I have only two:

domains <- c("http://www.aldautomotive.hr", "http://www.bks-leasing.hr")

Now, I want to extract only e-mail's from this domains. I know I can save htmls and than extract emails, but is it possible to extract it in one step? If this is e-mail regex:

emailRegex <- "^[a-zA-Z0-9.!#$%&'*+/=?^_{|}~-]+@a-zA-Z0-9?(?:.a-zA-Z0-9?)*$"`

How can I extract only that e-mails, but anything else? It seems KeyWords argument don't accept regex?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant