I am however having some trouble understanding exactly what you are looking for, so I just hope this can be a hint that helps you post some code to hopefully further clarify your situation.
In fact, each of these sites can be very useful if you try to find a solution to a problem. And the best thing is that both Google and Bing can search all of them at the same time.
I would like to suggest two things:
1. show the code that you made yourself
2. provide some example input and desired output, because at least to me it is not clear what middle words are.