"Get Text" from different text on the same webpage

Dear sir @Anil_G

I just tried, however, the target keeps changing when I delete the attribute. Any idea how to fix this?