Extracting domain name from random diferent urls

I need to store the domain name from urls that are always different (random different domains) into csv. I understand i can use string operations (e. g. [extract substring] with ExecuteScript_Sandbox but can someone help with an example? Much aprpeciated, thanks.

It’s very simple with split function cut the part and solve the problem

Here example