How Do I Delete Files With a Specific File Extenstion [i.e .pdf]

There are many examples of this which you can find if you simply search this forum for “delete files”. Here’s an example of one of them: