What have you tried? Do you have any code to start? I’m not aware of a script that would do this already (maybe try powershell gallery).
If you are trying to tackle this from scratch I would probably start by manipulating each string to split it up in its relevant parts i.e. -split “:” and -split “//” and -split “.”
Post back with some code, and I’ll do my best to help.