function to remove domain from path

Description

function to remove domain from path

Usage

1

Arguments

x

path aka URL from which to first infer domain and then remove it