'how to search and remove all file except last week groups in windows 10

I have many backup files so I want to remove all files except their last week. How could I do this work? Could I use some think like regular expressions?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source