Search
Duplicate

a[href$=".pdf"]

Example description
Selects every <a> element whose href attribute value ends with ".pdf"