I am trying to read a file in my Download folder (I have a mac system) using the below line of code:
PDDocument doc = PDDocument.load(new File("/Users/mohand/Downloads/1963_Automation_BigTurnip_290618.pdf"));
The problem is, the numeral "1963" will keep on changing but text "_Automation_BigTurnip_290618.pdf" will remain the same.
Can I use any regex that will pick up any file that has "_Automation_BigTurnip_290618.pdf" ?