lilzz
Posts: 411
Joined: Sat Nov 30, 2013 5:27 pm

Can I do regular expression search with google?

Mon Dec 28, 2015 11:41 pm

I like search for all email address that contains XXX@XXXX.edu The XXX can be any number of XXXs.
Can I do that with google search?

If Not, How should write something in Python/PHP to search the entire internet for a list of email addresses?

User avatar
rurwin
Forum Moderator
Forum Moderator
Posts: 4258
Joined: Mon Jan 09, 2012 3:16 pm
Contact: Website

Re: Can I do regular expression search with google?

Mon Dec 28, 2015 11:56 pm

Short answer: you can't.
1. No Google does not allow you to use regular expressions.
2. To search the Internet you would have to read every page that exists everywhere. A conservative estimate is over a petabyte of data -- a thousand million megabytes -- and it might be 50 times that. If your broadband connection can read a megabyte a second, it would still take at least 31 years and probably annoy your ISP.

Return to “General programming discussion”