You can use a split formula like so to split by multiple delimiters:
=SPLIT(REGEXREPLACE(right(A1,len(A1)-(find(".com",A1)+3)), "-|/", ""), "")

This formula works by first trimming off the first part of the URL:
right(A1,len(A1)-(find(".com",A1)+3)
It finds where the end of the url, .com
, starts within the string, and then adds 3 to get the end of the url (ie in the example URL, XY.com/..., .com
starts at position 3, so we add 3 to compensate for the c
o
m
, which gets us an ending position of 6).
From there, we trim the URL starting on the right hand side, getting the length of the entire URL minus the ending position of the .com
.
Finally, we replace the two delimiters that we want to split by with a unicode character, in this case .
REGEXREPLACE(right(A1,len(A1)-(find(".com",A1)+3)), "-|/", "")
And then simply split that string by the unicode character, effectively splitting by both -
and /
.