title: How do I write an regular express to find out if a filename contains ".pdf" at the end of the filename?
body: <p>How do I write a Perl regular express to find out if a filename contains a specific extension, for example ".pdf". The filename can be anything.</p>