how to change email and pass to email:pass
-
Hi everyone…
I’m working in a little project and I need some help,
I have a file contains +5000 email and password I want to change them to (email:pass) using notepad++example:
[1]-----------------
email: example@example.com
password: 123123
[2]-----------------
email: example2@example.com
password: 123321
[3]-----------------
…I want to convert all of the them to:
example@domain.com:123123
example2@domain.com:123321I was hopeless about this… but I’m now surprised from the experts I saw in this community <3… I hope someone of them help.
-
-
@Bahaa-Eddin-ツ :
FIND =
(?-s)email: (.*)\r\npassword: (.*)\r\n
REPLACE =$1:$2\r\n
Unsolicited Advice: If you are storing or dealing with passwords in plain text, you are going to get hacked: it’s a matter of when, not if. Stop it, get a real login password system, and apologize to your users for storing their passwords insecurely, and encourage them to change their passwords (both in your site and wherever else they may have foolishly used the same password that they used at your site).
----
Useful References
-
@PeterJones
thank you very much sir worked perfectly perfect!!
I really hope to learn notepad like you guys…
do you have any way to learn regex like?.Don’t worry I’m using x2 antivirus applications on my pc and I’m sure there is no keyloggers on my pc…
but I will take your note seriously. -
@Bahaa-Eddin-ツ said in how to change email and pass to email:pass:
do you have any way to learn regex like?.
The pages in the Useful References I shared already includes links to regex documentation and sites.
-
Hello, @bahaa-eddin-ツ, @peterjones and All,
The solution already provided by @peterjones is the right one and my solution would be identical or very similar !
Best Regards,
guy038