Alright. I'll try once more:
I can use wordfeud/scrabble as example.
If I got these letters: O L N R A O P
And I want to find words from an array (wordlist) that contains letters from above.
From 'O L N R A O P' I can get the word Pool, Loan and maybe others. How do I do this?
//Search array for words that contains the letters. Ex 'O L N R A O P' match the word POOL
//Put this in a foreach loop to spit out every word that matches letters from the input
Is this the right approach ? Can I do this with regex, or is there any other way ?
I'm not making any wordfeud/scrabble cheating engine.. but I just want to learn how to do this. And probably using this for other script(s).