title: Links ending with .docx or .pdf
body: <p>There are some links ending .docs/ .pdf/ .txt<br>
  and I want to click the one ending .docx.<br>
  How can i write an Xpath? or is there any other way selecting links ending with some text?
  Thanks in advance</p>