Hi team, could someone please guide me to have a node for this:
I have a list of address on $json.monitors.url
:
https://domain1.com
http://www.domain2.com/test
https://domain3.com/
I would like to have only the domain, removing the protocol and the path, like this:
domain1.com
www.domain2.com
domain3.com
I noticed the extractDomain() and extractUrl() functions, I am ignorant with programming, was unable to use it on a expression or on a code note to make this working
Please, could someone help me?
Thanks a lot