in reply to Subphrases from a phrase

I think more info on the application would be helpful. What are you trying to achieve and why? It's possible a simple regexp would do what you want (depending on what you want).