Js regular matches html a tag .pdf file

clipboard.png
articles are uploaded in the background, and the front end needs to find the .pdf suffix in html to perform some js operations on the tags. I hope the god can help write a rule to help find all the .pdf files

.
Sep.02,2021

I don't understand whether you want to find the an element with the pdf file, or do you want the full address of pdf? Whichever it is, regularization is not recommended.

$("a:contains(.pdf)")
//
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaa21b-1fb4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaa21b-1fb4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?