I already have some code, just need help with the algorithm that matches what a user enters to 8 random characters. For example, the start of the program 8 characters are generated and shows them to the user, the user has to make words from the letters (preferably using regex matching). Letters can only be used once unless they appear twice in the random sequence.
eg. Random Letters = FOTBEKRK
The user enters : FOOT
It will generate a message saying No Match.