in reply to How to do script to separate name and email domain ?

Perhaps the problem is merely a language issue -- your post suggests to me that you are somewhat fluent in English, but not a native-speaker. If so, GrandFather's response will be adequate and very helpful. Follow his suggestions and, if you get stuck, come back with your code and a specific question.

But if you are asking the Monks to write a script for you, you should address your request to a job site. This is not www.free-code-a-matic.com

Hmmm... as i scribbled this, the OP's content (and its title) disappeared. For the information of those who follow, the original said:

hie everyone

Need your help, i have a file which consists list of email addresses as below example:-

# jaja@email.com # kaka@myemail.com # baba@youremail.com # lala@email.com

I need a script to separate the name and email domian,and count the number of unique domain from the file

Based on the file above, i need a script which can give below result:-

# 2 email.com # 1 myemail.com # 1 youremail.com

thanks you in advanced

anakin30:
Please don't remove original content after posting a question or answer! It's counterproductive for all and rude as well!

Update: Wow. I 'thunk' consider and GrandFather had the job done before I could finish doing so!