Construct Links to different podcast services from copied iTunes URL

Totally new to the KM community…it’s an amazing world.

Here’s what I’m trying to do, and any help or advice would be greatly appreciated:
I often want to share podcast links, and need to convert the iTunes link to comparable links for Overcast.

The iTunes link is structured like this: https://itunes.apple.com/us/podcast/spiritual-steps-pray-listen/id1072858864?mt=2
Overcast can pick up a link structured like this:
https://overcast.fm/itunes1072858864/

So how tough would it be to create a macro that takes that first link off of the clipboard, picks up that numbered id string, and creates the second link?

ultimately, I’d like to wrap both those urls in html or markdown links, which I suppose will be a latter phase of the macro.

Something like this?

iTunes to Overcast Podcast URL Converter.kmmacros (2.7 KB)