Lets try a different method! Sometimes we need some additional selectors when trying to build out a dynamic selector. I think it would be a good idea to check out the UI Explorer application to help you generate the best selector.
Click on the UI Explorer Icon (Top)
Click Indicate Element and click on the text that you are trying to get
Uncheck name in the Selected Items Pane
4)Click through each row in the Selector Editor and Uncheck everything (name, title, aaname, etc) that has the text that you want made dynamic
Here is what my selector looked like after doing the above, your selector will look different than mine because we are testing with different windows but I hope this helps to get you closer to your solution!