'How do I make an extensions for multiple words changed?

I am trying to make a password hider for a school password, and the passwords are randomly generated and have 1 million possibilities. Is there a way to make multiple words changed at the same time?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source