ballouta Posted April 11, 2008 Share Posted April 11, 2008 Hello I have many valid email address but I do not have any idea about the countries listed in (yahoo, hotmail, maktoob etc..) is there any script that can detect each email's country in order to classify them and arrange them each country alone? Thank You Quote Link to comment Share on other sites More sharing options...
friedemann_bach Posted April 11, 2008 Share Posted April 11, 2008 I'm not sure whether I understand your question, but why don't you extract the top level domain (e. g. .it, .ru, .de, .ch and so on), and you will know the country in most cases, if it's not .net or .com. This could be done by a regex search (preg_search()). If it helps I can try to set up a regular expression for you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.