How to put .com at the end of email addressed by regex?
- by terces907
Example
I received a email-list from my friends but the problem is some people typed an email in full form (xxx@xxx.com) and some people typed (xxx@xxx without .com). And i want to improve it into the same format. How can i improve it if i want to edit them on vi?
In my emaillist.txt
foo@gmail
bar@hotmail.com
bas@gmail
qux@abc.com
mike@abc…