0

Full Example File Containing:

[email protected]:testing1
Yse@rur:userto
astr@[email protected]:str@st5es
@username1:password2
user2:@pass3
[email protected]:1password
my@example
[email protected]:password
!@#$%^
Star:userfor1
[email protected]:usepass1
\https]
[email protected]:testing@
Ge@rT@y:p@ssword
us@r!to$:!@troll
1800t0p@m@:1800t0p
[email protected]:super@1to
@st@rs:to!e@rth
[email protected]:euar@tres@
S@ur:info@tro
[email protected]:scroll2
F@st@tr@y:sla@ys#
[email protected]:stark6d8r@

Need Result Lefted:

[email protected]:testing1

astr@[email protected]:str@st5es


[email protected]:1password

[email protected]:password


[email protected]:usepass1

[email protected]:testing@

Need Result Cut:

Yse@rur:userto
@username1:password2
user2:@pass3
my@example
!@#$%^
Star:userfor1
\https]
Ge@rT@y:p@ssword
us@r!to$:!@troll
1800t0p@m@:1800t0p
@st@rs:to!e@rth
S@ur:info@tro
F@st@tr@y:sla@ys#
8
  • Changing your question after you've received answers is inappropriate, as it invalidates the answers you've received. It can even make those answers wrong, and adversely affect the reputation of those who answered. If you now have a new or additional question, create a new post and ask it there; you can link back to this one if needed for reference.
    – DavidPostill
    Commented Aug 21, 2017 at 11:07
  • because the answers didn't help and i tryied to make the question more deep and clear ?
    – user677589
    Commented Aug 21, 2017 at 11:08
  • The point is the answers did work with your original data set. You cannot expect people to keep changing their answers every time you change the data set.
    – DavidPostill
    Commented Aug 21, 2017 at 11:11
  • so can i make new question for it or what ?
    – user677589
    Commented Aug 21, 2017 at 11:23
  • It's a bit late for that now ...
    – DavidPostill
    Commented Aug 21, 2017 at 11:28

1 Answer 1

2

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:

[email protected]:testing1
astr@[email protected]:str@st5es
[email protected]:1password
[email protected]:password
[email protected]:usepass1
[email protected]:testing@
[email protected]:super@1to
[email protected]:euar@tres@
[email protected]:scroll2
[email protected]:stark6d8r@
5
  • not working its skip some
    – user677589
    Commented Aug 21, 2017 at 10:46
  • which ones does it skips ?
    – Pacopaco
    Commented Aug 21, 2017 at 11:31
  • @DeathRival: May be, but you've change the request. In your edited question, you have 23 inputs, 6 to be left, 13 to be deleted that isn't consistent.
    – Toto
    Commented Aug 21, 2017 at 11:32
  • yeah my bad i was should describe the question more deep and clear
    – user677589
    Commented Aug 21, 2017 at 11:40
  • Thanks So Much Man it Help Now idk what to say i really appreciate it <3
    – user677589
    Commented Aug 21, 2017 at 11:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .