Write a program searching for passwords in a given text. It is known that:
- a password consists of digits and/or Latin upper- and lowercase letters in any combination;
- a password always follows the word "password" (it can be written in upper- and/or lowercase letters) but can be separated from it by any number of whitespaces and colon
:characters.
Output all passwords found in the text, each password starting with a new line. If the text does not contain any passwords, output "No passwords found." without quotes.
Try to use Matcher and Pattern to solve it. All the needed modules are already imported.