I don’t use Shortcuts a lot, but I was impressed to discover a while ago that the Get Dates From Text action does a lot of this kind of thing out of the box. It may take a little fiddling to get the right approach, however. (Exits: typos)
See this thread from a little while back: Time Based Shortcut