g****r 发帖数: 14 | 1 Dear All,
I have a text file with multiple event entries, in which the email address are
organized differently. (i mean each event is some different, such as
1st event, first name, last name;
second event, email, first name, address, last name, email ....)
I am wondering how to extract the email address out of it?
I have got to the point of
sed -n -e 's./*\( .*@.* \).*/\1/p' sourcefile > newfile
yet I think the problem with the above is about the tab in my sourcefile, so far
still a lot of gubba |
|