You have no set of rule for extracting the text, so its quite difficult to come up with a formula to do that. It would be better if you explain the expected output to let us know that on what conditions you expect these outputs. Its clear for some but not for all.
Bookmarks