Search registry for string

hey everyone, I’m trying to find the script to search the registry for a string name. so if i enter house for example it will search the registry for that string.
any help would be greatly appriated,

Thanks

I’m guessing it’s just nested For each … next loops like you would a directory