MS Word attachment

Here is the query:In every document of a view there is one link in the field.

After this link there is some text written. I want to get that text in one of the string variable.

How this can be achieved?

Pls reply ASAP

Thanks in advance.