"capture" a date in a text pattern and rename like YYYYMMDD

Hi, I'm used to download some bank documents once or twice a year. They have not the right date contained in the metadata cause they are generated by the system as i download them: the reference date is in the filename.
I'd like to catch the date contained in the filename and convert it in the YYYYMMDD format.
filename ex LQ06-LQ_ E_C SCALARI / 28_02_2021 .pdf
Can Hazel get the date in the filename and then rename the file for ex 20220401_everything.pdf?
My rule catch the date correctly in the filename but I can't figure how to instruct hazel to perform the rename, cause Hazel catch it yes but like a text pattern not a date.
thank you
-m
I'd like to catch the date contained in the filename and convert it in the YYYYMMDD format.
filename ex LQ06-LQ_ E_C SCALARI / 28_02_2021 .pdf
Can Hazel get the date in the filename and then rename the file for ex 20220401_everything.pdf?
My rule catch the date correctly in the filename but I can't figure how to instruct hazel to perform the rename, cause Hazel catch it yes but like a text pattern not a date.
thank you
-m