A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 12: Plug-in 95 - Pattern Match Word

Having a dictionary of 80,000 words to hand it's a shame not to do more with it, so this and the next plug-in provide more word-related features. This plug-in will be of use in crossword or Scrabble game like scenarios where you know the number of letters in a word and even have a few letters in place.

The Figure shows this plug-in returning all possible words in the dictionary that fit the given pattern.