Grab the last date of "April 1-30, 2021" ?

Renaming PDFs based on "Contents contain match", but the date in the file is "April 1-30, 2021"
Using "automatically detect format" gives April 1, but I want April 30.
Any way to do this without parsing month, dash, day, year separately?
Thanks
Using "automatically detect format" gives April 1, but I want April 30.
Any way to do this without parsing month, dash, day, year separately?
Thanks