I have bunch of files that have a yyyy-mm-dd as part file name and i need to remove the -.
the file name usually has - or -- in the begining of the file name too. so i just cant remove - from the file name
example
ABCDE--_123456_2017-02-02.pdf
ABCDEF-_123456_2017-02-02.pdf
i want to have it named
ABCDE--_123456_20170202.PDF
ABCDEF-_123456_20170202.pdf
any help is greatly appreciated. Thanks!