How can I create a password type separator config

Hi, I would like some help, how can I make a password separator?

example:

08206573225:123456 - 6 digits

08206573225:12345678 - 8 digits

where will save passwords in txt

You can parse from the colon to empty string (a.k.a. till the end) and then use the length block. After that you can use the length as filename when you append some text to the file.