Not sure where you end solution is going but my Anagram program will do what you want.
program here
http://www.autohotkey.net/~peterm/My_Anagram-V6j.ahk
Simle instructions are here.
http://www.autohotkey.net/~peterm/Anagr ... 20file.rtf
dictionary if required is at
http://www.autohotkey.net/~peterm/Words.db
Too make the program do what you want.
Start program
Menu/dictionary/make new dictionary
This will ask for your text file.
It willl create a new file called New_Dictionary.txt
Now use
Menu/dictionary/Change dictionary
Select the New_Dictionary.txt file
Now type the letters you want into edit box e,g, HH.
Select command "All words with these letters"
and it will find you VAHOAHH and WOOAHH
Click Save Words and you have a text file alled Saved_words.txt.
A bit round about but perhaps does what you want (I think).
P