notepad++ editing and searching
-
i dont know how to describe but my problem is i cant find function to filter my document i wanna filter document with so much passwords and i need only the passwords that have (8char min, 15char max, 1letter upper or lower doesnt matter) i readed all user manual and find not very much
example
name@gmail.com:Password1111
i need only the Password1111 -
@Gen-Gen
If none of your passwords or the domain names to which they correspond contain a colon (literal:
), this is an easy find-replace:
FIND:.+:([^:]{8,15})$
REPLACE WITH:${1}
Regular expression
ON.
Example:
ConvertedPYUTGPBQzTM@LZsJeXV.pDNTx:IBge1O9h 8Ej4Yvadj4m.NJr:DqSyjWpm bN6wc76fo4n@YYyqy.USPao:vcoT7KF584g OMm7PAVs9iy4.xTCQ:Sz4iAC02 qH7BVQxhor.jwxZ:6Oyb8nuPjW lKgyhCKKu@flBQpAB.rRXmG:2o9mtT9boc8bg0 G41wuU.VIT:Q4TDoVqIe5o3I gGNBYv8abkJ.rlev:YA9duaEwmG G3nVFy@repHcft.RfhM:N70Gnr6YcYIm hr9Fa8YnJHG1@MjZKlEo.NGxF:qZYmosMf7KFnq KuhwiopHHu.BpLR:YUqNT0dLBX MenK6RKfL@JzcbtFd.Qelr:sXSRBOg0q MskMswpfCsZa.cJBX:dISQwNJn2EIo ayx3xXUw4f@mOHliOF.GTrIo:HpEigj5In0 msGP447Um@KplNWkgB.LsfJ:oM2ZdFe8P GtSojZe8.ZBQJ:UzbBJdos8I2e MMUkZ3EX@apVKI.FEUK:vf1fG2bmHeYtbFT RPxo3RX8sdH@RIQGxFPXMh.HfS:b6d8qOSNkq u1OuDyumF2W.DmAR:40FyTgDi5PFTal4 nQBU7X@xAXZgvN.YIpr:CduOg6J83gI
into the stuff after the colon, i.e
IBge1O9h DqSyjWpm vcoT7KF584g Sz4iAC02 6Oyb8nuPjW 2o9mtT9boc8bg0 Q4TDoVqIe5o3I YA9duaEwmG N70Gnr6YcYIm qZYmosMf7KFnq YUqNT0dLBX sXSRBOg0q dISQwNJn2EIo HpEigj5In0 oM2ZdFe8P UzbBJdos8I2e vf1fG2bmHeYtbFT b6d8qOSNkq 40FyTgDi5PFTal4 CduOg6J83gI
If any passwords or domain names contain a colon, this becomes much more irritating, and I’d have to give it a good think.
FWIW this task becomes trivial if you used a horizontal tab (as in, the character from the
Tab
key) to separate passwords from domain names, because horizontal tabs are never allowed in passwords or URLs.