Here is a way to go:
Edit according to revised question: (I guess you want a dot in the domain)
- Ctrl+H
- Find what:
^(?!\S+@\S+?\.\S+?:)\S+\R
- Replace with:
EMPY
- Replace all
Explanation:
^ : begining of line (?! : start negative lookahead, make sure we have NOT \S+ : 1 or more non space character @ : literally @ \S+? : 1 or more non space character, not greedy \. : a dot \S+? : 1 or more non space character, not greedy : : literally : ) : end lookahead \S+ : 1 or more non space character \R : any kind of line break
Result for given example:
test@live.com:testing1 astr@oSt@yahoo.fr:str@st5es name@yahoo.com:1password user@gmail.com:password names@hotmail.com:usepass1 trying@web.de:testing@ email@email.ru:super@1to gountr@mail.de:euar@tres@ known@web.net:scroll2 general@mail.it:stark6d8r@