I have about 1,800 .pdfs including a UPC with dashes and text that need to be removed to manage. I found a code to remove extra spaces and underscores.
How do I remove all text leaving just the UPCs?
01182232110_V1R1_CartonOL_KP_DNV15.pdf
... to ...
01182232110.pdf